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

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
  scroll-behavior: smooth;
}

body {
  background-color: #fefefe;
}

.main_block {
  width: 100%;
  background-color: #dcf8ea;
  background-image: 
    url(../public/img/food.svg),
    url(../public/img/woman.svg);
  background-repeat: no-repeat, no-repeat;
  background-position: 
    left bottom,
    right bottom;
  background-size: 400px;
}

.container {
  display: flex;
  margin: auto;
  text-align: center;
  justify-content: center;
  width: 100%;
  padding: 0 15px;  
}

.main_title {
  font-family: inter;
  font-weight: 600;
  font-size: 50px;
  text-align: center;
  margin-top: 96px;
  margin-bottom: 150px;
}

.main_text_block {
  width: 700px;
  margin: auto;
  justify-content: center;
  background-color: #ffffff;
  box-shadow: 0px 0px 50px 0px rgba(34, 60, 80, 0.3);
  padding: 30px;
  border-radius: 25px;
  text-align: center;
  margin-bottom: 100px;
}

.main_circle {
  position: relative;
  width: 170px;
  height: 170px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  margin: auto;
  box-shadow: 0px 0px 50px 0px rgba(255, 120, 0, 0.25);
  background: #fffaf5;
}

.main_circle svg {
  position: absolute;
  top: 0;
  left: 0;
  transform: rotate(-90deg);
  width: 100%;
  height: 100%;
}

.circle-bg {
  fill: none;
  stroke: #ffb347;
  stroke-width: 12;
  opacity: 0.3;
}

.circle-progress {
  fill: none;
  stroke: #ff7e05;
  stroke-width: 12;
  stroke-linecap: round;
  stroke-dasharray: 440;
  stroke-dashoffset: 440;
  transition: stroke-dashoffset 0.8s ease-out;
}

.circle-content {
  text-align: center;
  z-index: 10;
  padding: 0 15px;
  color: #cc6600;
  font-weight: 500;
}

.circle-title {
  font-size: 11px;
  font-weight: bold;
  color: #333333;
  line-height: 1.2;
  margin-bottom: 4px;
}

.circle-score {
  font-size: 32px;
  font-weight: bold;
  color: #111111;
}

.circle-max {
  font-size: 18px;
  color: #777777;
  font-weight: normal;
}

.main_text p {
  font-size: 17px;
  text-align: center;
  margin-top: 40px;
  line-height: 26px;
}

.promo-container {
  max-width: 880px;
  width: 100%;
  margin: auto;
  background: #ffffff;
  padding: 40px 20px;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.promo-title {
  font-size: 24px;
  font-weight: 700;
  color: #000000;
  margin-bottom: 20px;
  letter-spacing: -0.3px;
}

.promo-btn {
  display: inline-block;
  width: 80%;
  background: linear-gradient(180deg, #52b788 0%, #409a74 100%);
  color: #ffffff;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  padding: 18px 24px;
  border-radius: 50px;
  border: none;
  box-shadow: 0 5px 15px rgba(64, 154, 116, 0.3);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
}

.promo-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 7px 20px rgba(64, 154, 116, 0.4);
}

.promo-btn:active {
  transform: translateY(1px);
  box-shadow: 0 3px 10px rgba(64, 154, 116, 0.3);
}

.promo-description {
  font-size: 16px;
  line-height: 1.45;
  color: #111111;
  font-weight: 400;
  margin-bottom: 24px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.promo-meta {
  font-size: 12px;
  color: #666666;
  margin-bottom: 20px;
  font-weight: 400;
}

.divider {
  height: 1px;
  background-color: #e5e5e5;
  margin-bottom: 16px;
  border: none;
}

.features-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  font-size: 12px;
  color: #333333;
  font-weight: 500;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.feature-item svg {
  flex-shrink: 0;
}

/* Иконки флагов */
.flag-icon {
  width: 16px;
  height: 11px;
  display: inline-block;
  background: linear-gradient(
    to bottom,
    #3c3b6e 30%,
    #ffffff 30%,
    #ffffff 40%,
    #b22234 40%,
    #b22234 50%,
    #ffffff 50%,
    #ffffff 60%,
    #b22234 60%,
    #b22234 70%,
    #ffffff 70%,
    #ffffff 80%,
    #b22234 80%
  );
  position: relative;
}

.flag-usa {
  width: 16px;
  height: 11px;
  background-color: #b22234;
  position: relative;
  background-image: linear-gradient(#ffffff 50%, transparent 50%);
  background-size: 100% 2.2px;
}

.flag-usa::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 7px;
  height: 6px;
  background-color: #3c3b6e;
}

/* =============================================
   MOBILE OPTIMIZATION
   ============================================= */

 
@media (max-width: 992px) {
  .main_title {
    font-size: 42px;
    margin-top: 70px;
    margin-bottom: 100px;
  }

  .main_text_block {
    width: 90%;
    padding: 25px;
    margin-bottom: 70px;
  }

  .main_text p {
    font-size: 16px;
    margin-top: 30px;
    line-height: 24px;
  }

  .promo-container {
    max-width: 90%;
    padding: 35px 20px;
  }

  .promo-btn {
    width: 90%;
  }

  .main_block {
    background-size: 300px;
  }
}

 
@media (max-width: 768px) {
  .main_title {
    font-size: 36px;
    margin-top: 60px;
    margin-bottom: 80px;
  }

  .main_text_block {
    width: 95%;
    padding: 20px;
    border-radius: 20px;
    margin-bottom: 50px;
  }

  .main_circle {
    width: 140px;
    height: 140px;
  }

  .circle-bg,
  .circle-progress {
    stroke-width: 10;
  }

  .circle-title {
    font-size: 10px;
  }

  .circle-score {
    font-size: 28px;
  }

  .circle-max {
    font-size: 16px;
  }

  .main_text p {
    font-size: 15px;
    margin-top: 25px;
    line-height: 22px;
  }

  .promo-container {
    max-width: 95%;
    padding: 30px 15px;
  }

  .promo-title {
    font-size: 20px;
    margin-bottom: 16px;
  }

  .promo-btn {
    width: 95%;
    font-size: 16px;
    padding: 16px 20px;
  }

  .promo-description {
    font-size: 14px;
    max-width: 100%;
  }

  .features-list {
    gap: 12px;
    font-size: 11px;
  }

  .main_block {
    background-size: 200px;
  }
}

 
@media (max-width: 480px) {
  .container {
    padding: 0 10px;
  }

  .main_title {
    font-size: 28px;
    margin-top: 40px;
    margin-bottom: 50px;
    padding: 0 10px;
    word-wrap: break-word;
  }

  .main_text_block {
    width: 100%;
    padding: 15px;
    border-radius: 15px;
    margin-bottom: 40px;
  }

  .main_circle {
    width: 120px;
    height: 120px;
    box-shadow: 0px 0px 30px 0px rgba(255, 120, 0, 0.2);
  }

  .circle-bg,
  .circle-progress {
    stroke-width: 8;
  }

  .circle-content {
    padding: 0 10px;
  }

  .circle-title {
    font-size: 9px;
    margin-bottom: 2px;
  }

  .circle-score {
    font-size: 24px;
  }

  .circle-max {
    font-size: 14px;
  }

  .main_text p {
    font-size: 14px;
    margin-top: 20px;
    line-height: 20px;
    padding: 0 5px;
  }

  .promo-container {
    max-width: 100%;
    padding: 25px 12px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
  }

  .promo-title {
    font-size: 18px;
    margin-bottom: 14px;
    letter-spacing: -0.2px;
  }

  .promo-btn {
    width: 100%;
    font-size: 14px;
    padding: 14px 16px;
    border-radius: 40px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(64, 154, 116, 0.3);
  }

  .promo-btn:hover {
    transform: none; 
    box-shadow: 0 4px 12px rgba(64, 154, 116, 0.3);
  }

  .promo-btn:active {
    transform: scale(0.98);  
    box-shadow: 0 2px 8px rgba(64, 154, 116, 0.3);
  }

  .promo-description {
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 18px;
  }

  .promo-meta {
    font-size: 11px;
    margin-bottom: 16px;
  }

  .divider {
    margin-bottom: 12px;
  }

  .features-list {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 11px;
  }

  .feature-item {
    width: 100%;
    justify-content: center;
    padding: 4px 0;
  }

  .main_block {
    background-size: 150px;
    background-position: 
      left -20px bottom,
      right -20px bottom;
  }
}

 
@media (max-width: 360px) {
  .main_title {
    font-size: 24px;
    margin-top: 30px;
    margin-bottom: 40px;
  }

  .main_text_block {
    padding: 12px;
    border-radius: 12px;
  }

  .main_circle {
    width: 100px;
    height: 100px;
  }

  .circle-bg,
  .circle-progress {
    stroke-width: 6;
  }

  .circle-title {
    font-size: 8px;
  }

  .circle-score {
    font-size: 20px;
  }

  .circle-max {
    font-size: 12px;
  }

  .main_text p {
    font-size: 13px;
    margin-top: 15px;
    line-height: 18px;
  }

  .promo-container {
    padding: 20px 10px;
  }

  .promo-title {
    font-size: 16px;
    margin-bottom: 12px;
  }

  .promo-btn {
    font-size: 13px;
    padding: 12px 14px;
    margin-bottom: 16px;
  }

  .promo-description {
    font-size: 12px;
    line-height: 1.35;
    margin-bottom: 14px;
  }

  .promo-meta {
    font-size: 10px;
    margin-bottom: 12px;
  }

  .features-list {
    gap: 8px;
    font-size: 10px;
  }

  .main_block {
    background-size: 100px;
  }
}


@media (max-height: 600px) and (orientation: landscape) {
  .main_title {
    margin-top: 20px;
    margin-bottom: 30px;
    font-size: 24px;
  }

  .main_text_block {
    margin-bottom: 30px;
    padding: 15px;
  }

  .promo-container {
    padding: 20px 15px;
  }

  .promo-btn {
    padding: 12px 20px;
    margin-bottom: 12px;
  }
}


@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .main_text_block {
    box-shadow: 0px 0px 30px 0px rgba(34, 60, 80, 0.15);
  }
  
  .promo-container {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
  }
}

@media (max-width: 768px) {
 .main_text_block {
    margin-top: 120px;
   }
}