@import url("variables.css");

html {
  scroll-behavior: smooth;
}



.home-hero {
  background-color: #F8F9FA;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 160px;
}

.hero-title {
  font-size: calc(36px + 0.5vw);
  line-height: 1.2;
  color: #181c32;
  margin-bottom: 24px;
  font-weight: 600;
}

.hero-description {
  font-size: 20px;
  line-height: 1.6;
  max-width: 500px;
  margin: 0 auto 32px auto;
  text-align: center;
}

.btn-hero {
  display: inline-block;
  padding: 14px 28px;
  color: #ffffff;
  text-decoration: none;
  font-size: clamp(14px, 1vw + 10px, 16px);
  border-radius: 50px;
  background: linear-gradient(to right, #6F9DE2, #21539C);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: nowrap;
  width: fit-content;
}


.btn-hero:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
  opacity: 0.95;
}


.btn-hero:active {
  transform: scale(0.98);
}

.features-section {
  padding: 40px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.feature-item {
  text-align: left;
}

.feature-icon {
  width: 48px;
  height: 48px;
}

.feature-icon img {
  width: 100%;
  height: auto;
  object-fit: contain;
}


.hero-v2-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.hero-content {
  flex: 1;
  text-align: left;
}

.badge {
  display: inline-block;
  background: #dbeafe;
  color: #1e40af;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
  white-space: nowrap;
}

.hero-title {
  font-family: "GoogleSansBold", sans-serif;
  font-size: clamp(32px, 3vw + 1rem, 56px);
  line-height: 1.1;
  color: #111827;
  margin-bottom: 24px;
}

.hero-desc {
  font-size: clamp(16px, 1.2vw + 13px, 18px);
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 20px;
}

.hero-btns {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
}

.btn-secondary {
  background: white;
  border: 2px solid #C3C6D3;
  color: var(--primary-color);
  padding: 10px 32px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}

.avatar-person img {
  height: 32px;
  width: auto;
  display: block;
  object-fit: contain;
  object-position: center;
}

.hero-social-proof p {
  font-family: "GoogleSans", sans-serif;
  font-size: 14px;
  color: #6b7280;
  margin: 0;
}

.hero-v3 {
  padding: 130px 0px 50px 0px;
}

.hero-v3-content {
  text-align: center;
}

.hero-v3-content .hero-desc {
  max-width: 500px;
  margin: 0 auto;
}


.features-v2-grid {
  padding: 80px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.feature-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 15px;
}


.feature-icon img {
  width: 40px;
  height: 40px;
}

.feature-title {
  font-family: "GoogleSansBold", sans-serif;
  font-size: clamp(18px, 1.5vw + 10px, 20px);
  color: #1a1a1a;
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 16px;
}

.feature-desc {
  font-size: clamp(16px, 4vw - 30px, 18px);
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 12px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.feature-list li img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.feature-list li span {
  font-size: clamp(12px, 1.5vw + 3.5px, 14px);
  color: #111827;
  line-height: 1;
}

.help-section {
  text-align: center;
}

.help-content .hero-desc {
  max-width: 1000px;
  margin: 0 auto;
}

.help-btns {
  padding: 30px 0px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-see-demo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 30px;
  border-radius: 50px;
  border: 1.5px solid #1e50a2;
  background-color: transparent;
  color: #1e50a2;
  font-weight: 600;
  text-decoration: none;
  font-size: 15px;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.btn-see-demo img {
  width: 10px;
  height: auto;
  display: block;
}

.setup-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin: 50px 0px;
}

.setup-content {
  display: flex;
  align-items: flex-start;
  text-align: left;
  flex: 4;
  gap: 20px;
}

.setup-visual {
  flex: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.setup-icon img {
  width: 85px;
}

.setup-visual img {
  width: 60%;
}

.setup-visual img .setup-text {
  text-align: left;
}

.setup-text h2 {
  font-size: clamp(26px, 3vw + 12px, 30px);
  line-height: 1.2;
  color: #181c32;
  font-weight: 600;
}

.setup-text p {
  font-size: clamp(14px, 2vw, 16px);
  line-height: 1.2;
  color: #4b5563;
  font-weight: 500;
}

.pricing-header {
  text-align: center;
  padding: 130px 0 30px 0px;
}

.pricing-toggle-wrapper {
  padding: 20px 0;
  display: flex;
  justify-content: center;
}

.pricing-toggle {
  display: flex;
  background-color: #f4f4f6;
  padding: 6px;
  border-radius: 100px;
  align-items: center;
}

.toggle-option {
  padding: 10px 25px;
  border-radius: 100px;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  color: #888;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.toggle-option.active {
  background-color: #fff;
  color: #111;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.badge-save {
  background-color: #2b5ca9;
  color: #fff;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 500;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: stretch;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 16px;
  gap: 0;
  position: relative;
  margin-top: 50px;
}

.pricing-card {
  text-align: left;
  padding: 40px 30px;
  border-right: 1px solid #eee;
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-card:last-child {
  border-right: none;
}

.pricing-card.recommended {
  padding-top: 70px;
  padding-bottom: 60px;
  margin-top: -30px;
  margin-bottom: -30px;
  width: 100%;
  border: 1px solid #e0e0e0;
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  z-index: 10;
  background: #fff;
}

.recommend-tag {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid #e0e0e0;
  padding: 6px 20px;
  border-radius: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  color: #1e50a2;
  font-weight: 600;
  font-size: 14px;
}


.plan-name {
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 20px;
  display: block;
}

.recommended .plan-name {
  color: #1e50a2;
}

.currency {
  font-size: 24px;
}

.price-block {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 5px;
}

.amount {
  font-size: 36px;
  font-weight: 800;
}

.discount-badge {
  background: #e6f0ff;
  color: #1e50a2;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
}

.btn-action {
  display: block;
  text-align: center;
  padding: 12px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  margin: 25px 0;
  transition: 0.3s;
}

.btn-dark {
  background: #000;
  color: #fff;
}


.group-title {
  font-size: 14px;
  font-weight: 700;
  margin: 20px 0 15px;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 14px;
  color: #444;
}

.testimonials {
  margin: 80px 0;
  padding: 40px 0;
  background-color: #f0f4f8;
  text-align: center;
}

.testimonial-slide {
  height: auto;
  /* Đảm bảo slide cao bằng nhau để card không bị lệch */
  display: flex;
}

.testimonials-slider {
  padding: 40px 10px 60px;
  position: relative;
}

.testimonial-card {
  width: 100%;
  background: #fff;
  padding: 40px;
  border-radius: 24px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  box-sizing: border-box;
}

.swiper-button-next,
.swiper-button-prev {
  color: #1e50a2;
  background: #fff;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 18px;
  /* Chỉnh size icon mũi tên */
  font-weight: bold;
}

.stars {
  display: flex;
  margin-bottom: 20px;
}

.stars img {
  width: 18px;
}

.testimonial-text {
  font-size: 16px;
  line-height: 1.6;
  color: #444;
  margin-bottom: 30px;
  min-height: 100px;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.user-details h4 {
  font-size: 15px;
  font-weight: 700;
  margin: 0;
  color: #1a1a1a;
}

.user-details p {
  font-size: 13px;
  color: #777;
  margin: 0;
}

.faq-wrapper {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.faq-info {
  flex: 4;
}

.faq-title {
  font-family: "GoogleSansBold", sans-serif;
  font-size: clamp(32px, 5vw + 10px, 44px);
  line-height: 1.1;
  color: #111827;
  font-weight: 600;
}

.faq-list {
  flex: 6;
}

.faq-email-card {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 25px;
  background: #f8f9fa;
  border: 1px solid #eee;
  border-radius: 50px;
  font-size: 15px;
}

.faq-email-card a {
  color: #1e50a2;
  font-weight: 600;
  text-decoration: none;
}

.faq-item {
  border-left: 3px solid #eee;
  padding-left: 30px;
  margin-bottom: 30px;
  cursor: pointer;
  transition: all 0.3s;
}

.faq-item.active {
  border-left-color: #1e50a2;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question h3 {
  font-size: clamp(16px, 1.5vw + 10px, 20px);
  font-weight: 700;
  margin: 0;
  color: #1a1a1a;
}

.faq-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}

.faq-icon img {
  width: 100%;
  height: auto;
  transition: all 0.3s ease;
  position: absolute;
}

.faq-icon .icon-cancel {
  opacity: 0;
  transform: rotate(-90deg);
  visibility: hidden;
}

.faq-icon .icon-plus {
  opacity: 1;
  transform: rotate(0deg);
  visibility: visible;
}

.faq-item.active .faq-icon .icon-plus {
  opacity: 0;
  transform: rotate(90deg);
  visibility: hidden;
}

.faq-item.active .faq-icon .icon-cancel {
  opacity: 1;
  transform: rotate(0deg);
  visibility: visible;
}

.faq-section {
  margin-bottom: 30px;
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s ease-out, opacity 0.3s ease;
  opacity: 0;
  overflow: hidden;
}

.faq-item.active .faq-answer {
  grid-template-rows: 1fr;
  opacity: 1;
  margin-top: 15px;
}

.faq-answer p {
  width: 90%;
  font-size: 16px;
  min-height: 0;
  color: #555;
  line-height: 1.6;
  font-weight: 500;
}


.aboutus.hero-v2 {
  padding-top: 150px;
  padding-bottom: 80px;
}

.aboutus .hero-v2-wrapper>img {
  width: calc(50% - 30px);
}

.aboutus .hero-title {
  font-family: "GoogleSansBold", sans-serif;
  font-size: 36px;
  line-height: 1.1;
  color: #111827;
  margin-bottom: 15px;
}

.aboutus .hero-desc {
  font-size: 18px;
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 10px;
}

.aboutus .features-v2-grid {
  padding: 30px 0 80px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.aboutus.help-section .help-content {
  text-align: left;
}

.aboutus .help-content.text-center {
  text-align: center;
}

.aboutus .help-content.text-center .hero-desc {
  margin: 0 auto;
  max-width: 695px;
}

.aboutus .section-image {
  max-width: 100%;
  height: auto;
  margin-bottom: 1rem;
}

.aboutus .help-content .hero-desc {
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
}

.aboutus.help-section {
  padding: 0px 0 80px;
}

@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .aboutus .features-v2-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-v2-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .aboutus .features-v2-grid {
    grid-template-columns: repeat(1, 1fr);
    padding: 30px 0 50px;
  }

  .aboutus.hero-v2 {
    padding-top: 100px;
    padding-bottom: 0;
  }

  .aboutus.help-section {
    padding: 0 0 50px;
  }

  .feature-header {
    display: flex;
    flex-direction: row !important;
    align-items: center;
    gap: 15px;
  }

  .feature-item {
    padding: 0 10px;
  }

  .features-v2-grid {
    grid-template-columns: 1fr;
  }

  .hero-v2-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px;
    padding: 40px 20px;
  }

  .setup-wrapper {
    flex-direction: column;
  }

  .setup-content {
    order: 1;
  }

  .setup-visual {
    order: 2;
  }

  .setup-content {
    flex: none;
    width: 100%;
  }

  .hero-v3 {
    padding: 70px 0px 50px 0px;
  }

  .aboutus.hero-v3 {
    padding: 70px 0px 0px 0px;
  }

  .aboutus .hero-content {
    width: 100%;
  }

  .aboutus .feature-header {
    display: flex;
    flex-direction: row !important;
    align-items: center;
    gap: 15px;
    margin-bottom: 8px;
  }

  .aboutus .feature-header .feature-title {
    margin-bottom: 0;
  }

  .aboutus .feature-header .feature-icon {
    width: 45px;
    height: auto;
  }

  .aboutus .hero-v2-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    padding: 40px 10px;
  }

  .aboutus .hero-v2-wrapper>img {
    max-width: 500px;
    width: 100%;
  }

  .aboutus img[alt="Problem Illustration"] {
    order: 1;
  }

}

@media (max-width: 768px) {

  .hero-description {
    font-size: 16px;
    padding: 0 15px;
  }


  .price-block {
    justify-content: center;
  }

}

@media (max-width: 576px) {
  .pricing-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 24px;
    overflow-x: visible;
    scroll-snap-type: none;
    padding: 40px 20px;
    background: transparent;
    border: none;
  }

  .pricing-grid::-webkit-scrollbar {
    display: none;
  }

  .pricing-card {
    flex: 0 0 85%;
    max-width: 100%;
    scroll-snap-align: center;
    margin-right: 15px;
    border: 1px solid #eee;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    background: #fff;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding: 30px 20px !important;
  }

  .pricing-card:last-child {
    margin-right: 15px;
  }

  .recommend-tag {
    top: -15px;
  }

  .feature-list li span {
    font-size: clamp(14px, 1.5vw + 3.5px, 18px);
    color: #111827;
    line-height: 1;
  }
}

@media (min-width: 576px) and (max-width: 1023px) {
  .pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    overflow-x: visible;
    scroll-snap-type: none;
    padding: 40px 20px;
    background: transparent;
    border: none;
  }

  .pricing-card {
    flex: none !important;
    max-width: 100% !important;
    width: 100% !important;
    margin-right: 0 !important;
    scroll-snap-align: none;
    border: 1px solid #eee;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    background: #fff;
    padding: 30px 20px !important;

    display: flex;
    flex-direction: column;
    height: 100%;
  }

  .pricing-card:last-child:nth-child(odd) {
    grid-column: 1 / span 2;
    justify-self: center;
    max-width: 50%;
  }

  .recommend-tag {
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
  }

  .pricing-card.recommended {
    margin-top: 0px !important;
  }
}

.hero-title span {
  color: #2c6ecb;
}

@media (max-width: 991px) {

  .section-title {
    font-size: 28px;
    padding: 0 20px;
  }

  .faq-wrapper {
    flex-direction: column;
    gap: 40px;
  }

  .faq-title {
    font-size: 32px;
  }

  .faq-item {
    padding-left: 20px;
  }
}

@media (max-width: 560px) {
  .testimonial-card {
    flex: 0 0 85%;
    scroll-snap-align: center;
    padding: 30px;
  }
}


@media (min-width: 1100px) {

  .swiper-button-next,
  .swiper-button-prev {
    display: none !important;
  }

  /* .swiper-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    justify-content: center;
  } */
}

@media (max-width: 1099px) {

  /* .testimonials-slider {
    padding-left: 50px;
    padding-right: 50px;
  } */

  .swiper-button-next {
    right: 10px;
  }

  .swiper-button-prev {
    left: 10px;
  }
}