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

@font-face{
    font-family: 'manrope';
    font-weight: 200;
    font-style: normal;
    src: url("/Fonts/Manrope/static/Manrope-ExtraLight.ttf");
}

@font-face{
    font-family: 'manrope';
    font-weight: 300;
    font-style: normal;
    src: url("/Fonts/Manrope/static/Manrope-Light.ttf");
}

@font-face{
    font-family: 'manrope';
    font-weight: 400;
    font-style: normal;
    src: url("/Fonts/Manrope/static/Manrope-Regular.ttf");
}

@font-face{
    font-family: 'manrope';
    font-weight: 500;
    font-style: normal;
    src: url("/Fonts/Manrope/static/Manrope-Medium.ttf");
}

@font-face{
    font-family: 'manrope';
    font-weight: 600;
    font-style: normal;
    src: url("/Fonts/Manrope/static/Manrope-SemiBold.ttf");
}

@font-face{
    font-family: 'manrope';
    font-weight: 700;
    font-style: normal;
    src: url("/Fonts/Manrope/static/Manrope-Bold.ttf");
}
@font-face{
    font-family: 'manrope';
    font-weight: 800;
    font-style: normal;
    src: url("/Fonts/Manrope/static/Manrope-ExtraBold.ttf");
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}


/* === ОБНУЛЕНИЕ СТИЛЕЙ === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* === ОСНОВНЫЕ НАСТРОЙКИ === */
body {
  font-family: 'manrope';
  font-size: clamp(14px, 1vw, 16px);
  width: 100%;
  overflow-x: hidden;
  color: #000;
}

/* === ХЕДЕР === */
.container-fluid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: white;
  z-index: 1000;
  padding: clamp(10px, 2vh, 20px) 0;
}

.container {
  max-width: clamp(320px, 90vw, 1600px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1rem, 2vw, 40px);
}

.d-flex {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.logo {
  width: clamp(100px, 10vw, 150px);
  height: auto;
}

.menu {
  display: flex;
  gap: clamp(16px, 2vw, 40px);
  font-size: clamp(14px, 1vw, 16px);
  margin-left: auto;
  margin-right: clamp(10px, 2vw, 40px);
}

.menu a {
  text-decoration: none;
  color: black;
  transition: color 0.3s ease;
}

.menu a:hover {
  color: #5A5CA0;
}

.buttons {
  display: flex;
  gap: clamp(10px, 1vw, 20px);
}

.login,
.startnow {
  font-size: clamp(12px, 0.9vw, 14px);
  padding: clamp(8px, 0.7vw, 12px) clamp(16px, 1.5vw, 24px);
  border-radius: 50px;
  cursor: pointer;
  transition: transform 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.login {
  background-color: white;
  border: 1px solid rgb(133, 133, 133);
  color: #000;
}

.startnow {
  background-color: #5A5CA0;
  color: white;
  border: none;
  text-decoration: none; /* Убирает подчёркивание */
}

.login:hover,
.startnow:hover {
  transform: scale(1.05);
}

html {
  scroll-behavior: smooth;
}

#ID_tools-section,
#ID_plans-block,
#ID_seller-pro-section {
  scroll-margin-top: clamp(80px, 8vh, 120px);
}


/* === ГЛАВНЫЙ БЛОК === */
.page1 {
  max-width: clamp(320px, 90vw, 1600px);
  margin-top: clamp(120px, 12vh, 200px);
  margin-right: auto;
  margin-left: auto;
  margin-bottom: clamp(20px, 2vh, 60px);
  padding: 0 clamp(1rem, 2vw, 40px);
  display: flex;
  justify-content: space-between;
  gap: clamp(1rem, 5vw, 3rem);
  flex-wrap: wrap;

}

.maintext1 {
  flex: 1 1 45%;
  display: flex;
  flex-direction: column;
  font-size: clamp(28px, 3vw, 38px);
}

h2 {
  font-weight: normal;
}

.bold {
  font-weight: bold;
}

.perp {
  color: #5A5CA0;
}

.text2 {
  margin-top: clamp(2rem, 4vh, 4rem);
}

.text2 p {
  color: #888;
  font-size: clamp(18px, 1vw, 20px);
  line-height: 0.9;
  margin-bottom: 0.75rem;
}

.tryfree {
  background-color: #5A5CA0;
  color: white;
  border: none;
  border-radius: 50px;
  padding: clamp(12px, 1vw, 18px) clamp(24px, 3vw, 60px);
  font-size: clamp(16px, 1vw, 20px);
  width: fit-content;
  margin-top: clamp(3rem, 6vh, 5rem);
  cursor: pointer;
  transition: transform 0.3s ease;
  text-decoration: none;
}

.tryfree:hover {
  transform: scale(1.05);
}

.photo1 {
  flex: 1 1 45%;
  display: flex;
  justify-content: flex-end; /* ← прижимаем изображение к правому краю */
  align-items: center;
}

.Photo1Phone {
  width: 100%;
  max-width: clamp(280px, 30vw, 400px);
  height: auto;
}

.star-icons {
  width: clamp(40px, 5vw, 80px);        /* адаптивная ширина */
  height: auto;                         /* сохраняем пропорции */
  margin-left: 0.3em;                   /* оставим — хорошо работает рядом с текстом */
  margin-bottom: clamp(4px, 1vh, 12px); /* адаптивный отступ снизу */
  vertical-align: middle;
}







/* === Общие настройки: === */
@media (max-width: 1024px) {

  html, body {
    overflow-x: hidden !important;
    padding: 0;
    margin: 0;
  }

  * {
    box-sizing: border-box;
  }
}

/* === HEADER: Мобила — логотип справа, кнопка слева === */
@media (max-width: 768px) {

  .container {
    flex-direction: row-reverse; /* Меняем порядок: логотип справа */
    justify-content: space-between;
    align-items: center;
    padding: clamp(8px, 2vw, 12px) clamp(12px, 4vw, 16px);
    position: relative;
  }

  .logo {
    order: 2;
    margin-left: auto;
    width: clamp(90px, 24vw, 110px);
  }

  .menu {
    order: 1;
    flex: 1;
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    position: relative;
  }

  .menu a {
    display: none !important;
  }

  .menu a[href="#ID_plans-block"] {
    display: inline-flex !important;
    align-items: center;
    justify-content: flex-end;
    font-size: 0;
    font-weight: 300;
    text-decoration: none;
    height: 40px;
    gap: 4px;
    padding: 0;
    position: absolute;
    right: clamp(12px, 4vw, 16px); /* Прижата к правому краю */
    top: 50%;
    transform: translateY(-50%);
  }

  .menu a[href="#ID_plans-block"]::before {
    content: "Посмотреть тарифы";
    color: #000;
    display: inline-block;
    font-size: clamp(12px, 3vw, 14px);
    line-height: 1;
    transition: color 0.3s ease;
  }

  .menu a[href="#ID_plans-block"]:hover::before {
    color: #5A5CA0; /* Цвет при наведении */
  }

  .menu a[href="#ID_plans-block"]::after {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    background-color: #000;
    margin-top: 1px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;

    mask-image: url("data:image/svg+xml,<svg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'><circle cx='12' cy='12' r='10.5' fill='none' stroke='white' stroke-width='1'/><line x1='12' y1='7' x2='12' y2='14' stroke='white' stroke-width='1'/><polyline points='8.5 11.5 12 15.5 15.5 11.5' stroke='white' stroke-width='1' fill='none'/></svg>");
    -webkit-mask-image: url("data:image/svg+xml,<svg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'><circle cx='12' cy='12' r='10.5' fill='none' stroke='white' stroke-width='1'/><line x1='12' y1='7' x2='12' y2='14' stroke='white' stroke-width='1'/><polyline points='8.5 11.5 12 15.5 15.5 11.5' stroke='white' stroke-width='1' fill='none'/></svg>");
  }

  .buttons {
    display: none !important;
  }
}

/* === PAGE1: Мобила — адаптация первой секции === */
@media (max-width: 768px) {
  .page1 {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: clamp(33px, 8.8vh, 44px) clamp(18px, 5.5vw, 22px);
    margin-top: clamp(44px, 8.8vh, 66px);
    overflow: hidden;
  }

  .maintext1 h2 {
    font-size: clamp(25px, 7.84vw, 35px);
    line-height: 1.3;
    text-align: center;
    padding: 0 clamp(12px, 5vw, 20px);
    margin: 0 auto;
    max-width: 100%;
  }

  .maintext1 h2 span {
    display: inline;
  }

  .maintext1 br {
    display: block;
    content: "";
    margin-bottom: clamp(4px, 1.5vw, 10px);
  }

  .hero-title {
    text-align: center;
    line-height: 1.3;
    font-size: clamp(24px, 7.8vw, 37px);
    font-weight: 400;
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 20px);
    max-width: 100%;
    word-break: keep-all;
    overflow-wrap: normal;
  }

  .hero-title .nowrap {
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
  }

  .hero-title .star-icons {
    height: 1em;
    width: auto;
    vertical-align: middle;
  }

  .hero-title strong,
  .hero-title .highlighted {
    display: inline-block;
    width: 100%;
  }

  .text2 {
    padding: 0 clamp(12px, 5vw, 20px);
    box-sizing: border-box;
    max-width: 100%;
    text-align: center;
    line-height: 1.4;
  }

  .text2 p {
    font-size: clamp(12px, 3.6vw, 14px);
    line-height: 1.3;
    margin: 0;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .text2 p:first-child {
    white-space: normal;
  }

  .tryfree {
    display: block;
    width: 100%;
    max-width: 250px;
    margin: 20px auto 0 auto;
    text-align: center;
    font-size: clamp(12px, 3.5vw, 14px);
    font-weight: 400;
    padding: 9px 14px;
    border-radius: 20px;
  }

  .photo1 {
    display: none !important;
  }
}
















/* 📱 Планшеты и ниже (1024px) */
/*
@media (max-width: 1024px) {

  html, body {
    overflow-x: hidden !important;
    padding: 0;
    margin: 0;
  }

  * {
    box-sizing: border-box;
  }

  /* 📌 Hero Section */
  /*
  .page1 {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .maintext1,
  .photo1 {
    flex: 1 1 100%;
  }

  .photo1 {
    justify-content: center;
    margin-top: clamp(20px, 4vh, 40px);
  }

  .text2 p {
    font-size: clamp(16px, 2vw, 18px);
    line-height: 1.4;
  }

  .tryfree {
    font-size: clamp(14px, 3vw, 18px);
    padding: clamp(10px, 2vw, 14px) clamp(24px, 6vw, 48px);
  }

  .star-icons {
    width: clamp(30px, 8vw, 50px);
  }
}

/* 📱 Маленькие экраны (600px и ниже) */
/*
@media (max-width: 600px) {

  .container {
    padding: 0 16px;
  }

  .menu,
  .buttons {
    display: none;
  }

  img[alt=logo] {
    width: 120px;
  }

  .maintext1 {
    font-size: clamp(24px, 6vw, 32px);
  }

  .text2 p {
    font-size: clamp(14px, 4vw, 16px);
  }

  .tryfree {
    width: 100%;
    margin-top: 2rem;
  }

  img[alt=phone] {
    max-width: 280px;
  }
}
