* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Mulish", sans-serif;
}

body {
  background: rgba(236, 239, 236, 1);
}

header {
  background: rgba(255, 255, 255, 1);
  height: 60px;
}

.nav-ul li {
  font-weight: 400;
  color: #444a4b;
  cursor: pointer;
}

.nav-ul li:hover {
  color: #6db393;
}

header .open-button {
  width: 182px;
  padding: 7px 14px !important;
  font-size: 13px;
  white-space: nowrap;
  margin-right: 0;
}

.open-button {
  background: rgba(109, 179, 147, 1);
  height: 44px;

  width: 300px;
}

.open-button:hover {
  background-color: #42a580 !important;
}
.hero h1 {
  font-weight: 700;
  font-size: 44px;
  line-height: 50px;
  color: #444a4b;
}

.hero {
  background: #fff;
}

.hero > div:last-child {
  position: relative;
}

.hero > div:last-child::before {
  content: "";
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(
    ellipse at center,
    rgba(109, 179, 147, 0.2) 0%,
    rgba(109, 179, 147, 0.1) 40%,
    transparent 70%
  );
  z-index: -1;
  border-radius: 50%;
}

.step-number {
  background: #6db393;
}

/* Section 5 - Узнайте, когда дешевле */
.section-5 {
  background-color: white;
  margin-top: 1rem;
  padding: 3rem 1rem;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 30px;
}

.section-5-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

/* Left Side - Text Content */
.section-5-content {
  width: 100%;
  text-align: center;
}

.section-5-title {
  font-size: 28px;
  font-weight: bold;
  color: #444a4b;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-5-description {
  color: #787878;
  font-size: 14px;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

.section-5-button {
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  font-weight: 500;
  width: 100%;
  border: none;
  cursor: pointer;
}

/* Right Side - Image */
.section-5-image-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.section-5-image {
  width: 100%;
  height: auto;
  display: block;
}

header img {
  margin-left: 10px;
}
@media (max-width: 768px) {
  /* Header Mobile - faqat logo va button */
  header {
    padding: 12px 16px !important;
    border-radius: 120px !important;
    margin: 0 8px !important;
    gap: 12px;
  }

  header img {
    height: 38px !important;
  }

  /* Navigation yashirish */
  header nav {
    display: none;
  }

  /* Header button */
  header .open-button {
    padding: 7px 15px !important;
    font-size: 16px;
    font-weight: 400;
    white-space: nowrap;
  }

  /* Hero Section Mobile */
  .hero {
    padding: 32px 20px !important;
    border-radius: 24px !important;
  }

  /* Badges - horizontal qolsin */
  .hero > div:first-child {
    display: flex !important;
    padding: 4px !important;
  }

  /* Heading */
  .hero h1 {
    font-size: 24px !important;
    line-height: 32px !important;
    margin-bottom: 20px !important;
  }

  /* Description */
  .hero p {
    font-size: 13px !important;
    line-height: 20px;
    margin-bottom: 24px !important;
  }

  @media (max-width: 768px) {
    .contron-all-sec {
      margin-inline: 8px !important;
    }

    /* Header Mobile - faqat logo va button */
    header {
      padding: 12px 16px !important;
      border-radius: 120px !important;
      margin: 0 8px !important;
      gap: 12px;
    }

    header img {
      height: 38px !important;
    }

    /* Navigation yashirish */
    header nav {
      display: none;
    }

    /* Header button */
    header .open-button {
      width: 162px;
      padding: 7px 14px !important;
      font-size: 13px;
      white-space: nowrap;
      margin-right: -7px;
    }

    .open-button {
      width: 300px;
      height: 44px;
    }
    /* Hero Section Mobile */
    .hero {
      padding: 32px 20px !important;
      margin: 12px 8px !important;
      border-radius: 24px !important;
    }

    /* Badges - horizontal qolsin */
    .hero > div:first-child {
      margin-bottom: 24px !important;
      border-width: 1.5px !important;
    }

    .hero > div:first-child span {
      padding: 8px 16px !important;
      font-size: 12px !important;
    }

    /* Heading */
    .hero h1 {
      font-size: 24px !important;
      line-height: 32px !important;
      margin-bottom: 20px !important;
    }

    /* Description */
    .hero p {
      font-size: 13px !important;
      line-height: 20px;
      margin-bottom: 24px !important;
    }

    /* Buttons - vertical */
    .hero > div:nth-child(5) {
      flex-direction: column;
      gap: 12px;
      margin-bottom: 32px !important;
    }

    .hero > div:nth-child(5) button {
      width: 100%;
      padding: 12px 24px !important;
      font-size: 14px !important;
    }

    /* Image */
    .hero > div:last-child {
      border-radius: 20px !important;
      max-width: 100% !important;
    }

    /* Gradient off mobile da */
    .hero > div:last-child::before {
      display: none;
    }
  }

  /* Image */
  .hero > div:last-child {
    border-radius: 20px !important;
    max-width: 100% !important;
  }

  /* Gradient off mobile da */
  .hero > div:last-child::before {
    display: none;
  }
}
/* ============================================
     TABLET VERSION - 769px to 1024px
     ============================================ */
@media (min-width: 769px) and (max-width: 1024px) {
  header {
    padding: 16px !important;
    border-radius: 80px !important;
    margin: 0 16px !important;
  }

  header nav ul {
    gap: 16px !important;
  }

  header nav ul li {
    font-size: 14px;
  }

  .hero {
    padding: 40px 24px !important;
    margin: 16px !important;
  }

  .hero h1 {
    font-size: 36px !important;
    line-height: 44px !important;
  }

  .hero > div:last-child::before {
    width: 600px;
    height: 350px;
  }
}

/* ============================================
     DESKTOP VERSION - min-width: 1025px
     ============================================ */
@media (min-width: 1025px) {
  /* Desktop uchun maxsus sozlamalar */
  header {
    margin-top: 16px;
  }
}
/* Mobile responsive uchun media query */
@media (max-width: 768px) {
  /* Section 3 - Что умеет бот */

  /* Badge */
  .bg-\[\#ECEFEC\] button {
    font-size: 12px !important;
    padding: 8px 16px !important;
    width: 100%;
    text-align: center;
  }

  /* Heading */
  .bg-\[\#ECEFEC\] h2 {
    font-size: 28px !important;
    line-height: 36px !important;
    text-align: center;
  }

  /* Description */
  .bg-\[\#ECEFEC\] > div > div:first-child > p {
    font-size: 14px !important;
    text-align: center;
  }

  /* Button Перейти к боту */
  .bg-\[\#ECEFEC\] > div > div:first-child > button:last-child {
    width: 100% !important;
    padding: 10px !important;
  }

  /* Features Grid - 1 column */
  .bg-\[\#ECEFEC\] .grid-cols-1.sm\:grid-cols-2 {
    grid-template-columns: 1fr !important;
  }

  /* Feature Cards */
  .bg-\[\#ECEFEC\] .bg-white {
    padding: 20px !important;
  }

  .bg-\[\#ECEFEC\] .bg-white h3 {
    font-size: 16px !important;
  }

  .bg-\[\#ECEFEC\] .bg-white p {
    font-size: 13px !important;
  }

  /* Icon circle kichikroq */
  .bg-\[\#ECEFEC\] .w-12.h-12 {
    width: 40px !important;
    height: 40px !important;
  }

  .bg-\[\#ECEFEC\] .w-12.h-12 svg {
    width: 20px !important;
    height: 20px !important;
  }
}

/* Section 4 - Кому полезен бот - Mobile responsive */
@media (max-width: 768px) {
  .mobil-button {
    align-items: center;
  }

  /* Grid to single column */
  .bg-\[\#ECEFEC\]:nth-of-type(2) .grid {
    grid-template-columns: 1fr !important;
  }

  /* Text content yuqorida */
  .bg-\[\#ECEFEC\]:nth-of-type(2) > div > div:last-child {
    order: -1;
    text-align: center;
  }

  /* Badge */
  .bg-\[\#ECEFEC\]:nth-of-type(2) button:first-of-type {
    font-size: 12px !important;
    padding: 8px 16px !important;
    width: auto;
  }

  /* Heading */
  .bg-\[\#ECEFEC\]:nth-of-type(2) h2 {
    font-size: 28px !important;
    line-height: 36px !important;
  }

  /* Description */
  .bg-\[\#ECEFEC\]:nth-of-type(2) > div > div:last-child > p {
    font-size: 14px !important;
  }

  /* Button width */
  .bg-\[\#ECEFEC\]:nth-of-type(2) > div > div:last-child > button {
    width: 100% !important;
    margin: 0 auto;
  }

  /* Feature cards - 1 column */
  .bg-\[\#ECEFEC\]:nth-of-type(2) .sm\:grid-cols-2 {
    grid-template-columns: 1fr !important;
  }

  /* Feature cards spacing */
  .bg-\[\#ECEFEC\]:nth-of-type(2) .bg-white {
    padding: 20px !important;
  }

  /* Feature heading */
  .bg-\[\#ECEFEC\]:nth-of-type(2) .bg-white h3 {
    font-size: 16px !important;
  }

  /* Feature text */
  .bg-\[\#ECEFEC\]:nth-of-type(2) .bg-white p {
    font-size: 13px !important;
  }

  /* Icon size */
  .bg-\[\#ECEFEC\]:nth-of-type(2) .w-12 {
    width: 40px !important;
    height: 40px !important;
  }

  .bg-\[\#ECEFEC\]:nth-of-type(2) .w-12 svg {
    width: 20px !important;
    height: 20px !important;
  }
}

/* Desktop Version - Media Query */
@media (min-width: 1024px) {
  .section-5 {
    padding: 4rem 1rem;
  }

  .section-5-container {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .section-5-content {
    width: 452px;
    margin-left: 60px;
    text-align: left;
  }

  .section-5-title {
    font-size: 44px;
    margin-bottom: 1.5rem;
  }

  .section-5-description {
    font-size: 16px;
    margin-bottom: 2rem;
    margin-left: 0;
    margin-right: 0;
  }

  .section-5-button {
    width: fit-content;
  }

  .section-5-image-wrapper {
    justify-content: flex-end;
    margin-top: 0;
  }

  .section-5-image-container {
    max-width: none;
    box-shadow: 0px 1px 50.2px 0px rgba(109, 179, 147, 0.15);
  }
}

/* Section 6 - FAQ Responsive */

/* Mobile styles - fix width issues */
@media (max-width: 1023px) {
  .section-6 .text-center p {
    width: 100% !important;
    max-width: 100%;
  }

  .faq-answer p {
    width: 100% !important;
    max-width: 100%;
  }
}

/* Desktop styles - keep existing widths */
@media (min-width: 1024px) {
  .section-6 .text-center p {
    width: 493px;
  }

  .faq-answer p {
    width: 554px;
  }
}

@media (max-width: 768px) {
  /* Section 6 - CTA */
  section:last-of-type h2 {
    color: #32343e;
    font-size: 25px !important;
    line-height: 28px !important;
    font-weight: 700;
    width: 300px;
  }

  section:last-of-type button {
    width: 100% !important;
  }

  footer p {
    font-size: 12px !important;
  }
}

.faq-item {
  padding: 0;
  border: none !important;
  margin: 10px;
  margin-top: -20px;
}

footer {
  width: 110vw;
}
