/* COMMON */
.static-page-content {
  width: 100%;
}

.aiflow-opt {
  width: 100%;
}

.aiflow-opt-section {
  box-sizing: border-box;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 7em 0;
}

.aiflow-opt-section-header-cont {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5em;
  padding-bottom: 3em;
}

.aiflow-opt-section-header {
  font-size: 2.8em;
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
}

.aiflow-opt-section-subheader {
  font-size: 1.8em;
  line-height: 1.2;
  margin-top: 0.3em;
  text-align: center;
}

.aiflow-opt-section-text {
  font-size: 1.3em;
  line-height: 1.5em;
  text-align: center;
}

@media (max-width: 1024px) and (min-width: 736px) {
  .aiflow-opt-section {
    padding: 5em 0 3em 0;
  }

  .aiflow-opt-section-header-cont {
    padding-left: 2em;
    padding-right: 2em;
  }
}

@media (max-width: 1024px) {
  body {
    min-width: unset !important;
  }

  .static-page-content, .aiflow-opt {
    width: 100vw;
    overflow-x: hidden;
  }

  .aiflow-opt-section-header {
    font-size: 2.3em;
  }

  .aiflow-opt-section-subheader {
    font-size: 1.5em;
  }

  .aiflow-opt-section-text {
    font-size: 1.3em;
  }
}

@media (max-width: 736px) {
  .aiflow-opt-section {
    padding: 1.4em 1em;
  }

  .aiflow-opt-section-header-cont {
    gap: 1em;
    padding: 1em;
  }

  .aiflow-opt-section-header {
    font-weight: 400;
    font-size: 2.3em;
  }

  .aiflow-opt-section-subheader, .aiflow-opt-section-text {
    font-size: 1.5em;
  }
}

/* MAIN CONTAINER */
.aiflow-opt .aiflow-opt-container {
  max-width: 1920px;
  margin: 0 auto;
}

@media (max-width: 1024px) {
  .aiflow-opt .aiflow-opt-container {
    max-width: 100%;
  }
}

/* HERO SECTION */
.aiflow-opt-hero {
  height: 54em;
  width: 100%;
  background: url(https://static.tp-link.com/assets/images/static/aiflow/img/01-aiflow-hero-web.jpg) 50% 0 no-repeat;
  position: relative;
  margin: 0 auto;
  background-size: cover;
}

.aiflow-opt-hero .aiflow-opt-hero-content {
  position: absolute;
  top: 20%;
  left: 17%;
  color: white;
}

.aiflow-opt-hero .aiflow-opt-hero-logo-cont {
  display: flex;
  align-items: center;
  gap: 2em;
}

.aiflow-opt-hero .aiflow-opt-hero-logo-tplink {
  width: 8em;
}

.aiflow-opt-hero .aiflow-opt-hero-logo-gt-booster {
  width: 15em;
}

.aiflow-opt-hero .aiflow-opt-hero-logo-separator {
  font-size: 1.5em;
}

.aiflow-opt-hero .aiflow-opt-hero-title {
  font-size: 3em;
  font-weight: 400;
  line-height: 1.2;
  margin-top: 0.5em;
}

.aiflow-opt-hero .aiflow-opt-hero-subtitle {
  font-size: 1.5em;
  font-weight: 400;
  line-height: 1.2;
  margin-top: 0.3em;
}

@media (max-width: 1024px) {
  .aiflow-opt-hero {
    width: 100vw;
  }

  .aiflow-opt-hero .aiflow-opt-hero-content {
    top: 10%;
    left: 10%;
  }
}

@media (max-width: 736px) {
  .aiflow-opt-hero {
    background: url(https://static.tp-link.com/assets/images/static/aiflow/m/01-aiflow-hero-m.png) top/100% auto no-repeat;
    height: 133.4375vw;
  }

  .aiflow-opt-hero .aiflow-opt-hero-content {
    top: 5%;
    left: 5%;
    width: 70%;
  }

  .aiflow-opt-hero .aiflow-opt-hero-logo-cont {
    gap: 1em;
  }

  .aiflow-opt-hero .aiflow-opt-hero-logo-tplink {
    width: 5em;
  }
  
  .aiflow-opt-hero .aiflow-opt-hero-logo-gt-booster {
    width: 10em;
  }

  .aiflow-opt-hero .aiflow-opt-hero-title {
    line-height: 1.1em;
  }

  .aiflow-opt-hero .aiflow-opt-hero-subtitle {
    margin-top: 0.6em;
  }
}

/* DESCRIPTION SECTION */

.aiflow-opt-desc-section {
  max-width: 1000px;
}

/* Description Grid */
.aiflow-opt-section-desc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5em;
  margin-top: 2em;
}

.aiflow-opt-section-desc-grid-col {
  display: flex;
  flex-direction: column;
}

.aiflow-opt-section-desc-grid-col-header {
  font-size: 1.5em;
  font-weight: 500;
  line-height: 1.2;
}

.aiflow-opt-section-desc-grid-col-description {
  font-size: 1.2em;
  line-height: 1.5em;
  margin-top: 2em;
}

@media (max-width: 1024px) {
  .aiflow-opt-desc-section {
    box-sizing: border-box;
    max-width: 750px;
  }

  .aiflow-opt-section-desc-grid {
    box-sizing: border-box;
    padding: 0 2em;
  }
}

@media (max-width: 736px) {
  .aiflow-opt-section-desc-grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 2em;
  }

  .aiflow-opt-section-desc-grid-col-header {
    font-size: 1.5em;
    font-weight: 400;
  }

  .aiflow-opt-section-desc-grid-col-description {
    margin-top: 1em;
    font-size: 1.3em;
  }
}

/* ACCORDION SECTION */
.aiflow-opt-accordion-section {
  background-color: #f3f3f3;
  padding: 7em 10em;
}

.accordion-container {
  max-width: 1200px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  border-radius: 2em;
  margin-top: 3em;
  background-color: #d6d6d6;
  overflow: hidden;
}

.accordion-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8em 6em;
}

.accordion-items {
  display: flex;
  flex-direction: column;
  gap: 4em;
}

.accordion-item-header {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.accordion-item-title {
  font-size: 2.3em;
  font-weight: 500;
}

.accordion-item-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.accordion-item-icon svg {
  width: 24px;
  height: 24px;
  color: #121212;
}

.accordion-item.active .accordion-item-icon {
  transform: rotate(180deg);
}

.accordion-item-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-item.active .accordion-item-content {
  max-height: 500px;
}

.accordion-item-text {
  font-size: 1.2em;
  line-height: 1.6;
  font-weight: 400;
}

.image-section {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.accordion-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.accordion-image.active {
  opacity: 1;
  position: relative;
}

@media (max-width: 1024px) and (min-width: 736px) {
  .accordion-item-text {
    font-size: 1em;
    font-weight: 300;
  }
}

@media (max-width: 1024px) {
  .aiflow-opt-section-desc-grid {
    box-sizing: border-box;
    max-width: 750px;
  }

  .aiflow-opt-accordion-section {
    box-sizing: border-box;
    padding: 4em;
    width: 100%;
  }

  .accordion-container {
    max-width: 100%;
    grid-template-columns: 0.8fr 1fr;
    border-radius: 1em;
  }

  .accordion-section {
    padding: 4em 2em;
  }

  .accordion-items {
    gap: 2em;
  }

  .accordion-item-title {
    font-size: 1.5em;
  }
}

@media (max-width: 736px) {
  .accordion-container {
    display: none;
  }

  .aiflow-opt-accordion-section {
    padding: 0 1em;
  }

  .aiflow-opt-accordion-section .aiflow-opt-section-header-cont {
    justify-content: flex-start;
    padding-top: 3em;
  }

  .aiflow-opt-accordion-section .aiflow-opt-section-header,
  .aiflow-opt-accordion-section .aiflow-opt-section-subheader,
  .aiflow-opt-accordion-section .aiflow-opt-section-text {
    text-align: left;
  }
}

/* ACCORDION MOBILE SECTION */
.aiflow-opt-accordion-mobile-section {
  display: none;
}

@media (max-width: 736px) {
  .aiflow-opt-accordion-mobile-section {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2em;
    width: 100%;
    margin-top: 2em;
  }

  .aiflow-opt-accordion-mobile-card { 
    background-color: #d6d6d6;
    border-radius: 0.5em;
    overflow: hidden;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .aiflow-opt-accordion-mobile-card-text-cont {
    padding: 2em;
  }

  .aiflow-opt-accordion-mobile-card-text-cont-header {
    font-size: 1.5em;
    font-weight: 400;
    line-height: 1.2;
  }

  .aiflow-opt-accordion-mobile-card-text-cont-description {
    font-size: 1.3em;
    line-height: 1.5em;
    margin-top: 0.5em;
  }

  .aiflow-opt-accordion-mobile-card-image-cont img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

/* MAX CONNECT SECTION */
.aiflow-opt-max-connect-section {
  height: 54em;
  width: 100%;
  background: url(https://static.tp-link.com/assets/images/static/aiflow/img/04-max-connect-bg-web.png) 50% 0 no-repeat;
  position: relative;
  margin: 0 auto;
}

.aiflow-opt-max-connect-section-content {
  position: absolute;
  top: 0;
  left: 7%;
  display: flex;
  align-items: center;
  height: 100%;
  overflow: hidden;
}

.aiflow-opt-max-connect-section-content-image-cont {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 50%;
}

.aiflow-opt-max-connect-section-content-image-cont img {
  width: 80%;
  height: 80%;
  mix-blend-mode: lighten;
}

.aiflow-opt-max-connect-section-content-text-cont {
  display: flex;
  flex-direction: column;
  color: white;
  width: 30%;
}

.aiflow-opt-max-connect-section-content-text-cont div {
  text-align: left;
}

.aiflow-opt-max-connect-section-content-image-cont-mobile {
  display: none;
}

@media (max-width: 1024px) {
  .aiflow-opt-max-connect-section {
    max-width: 100%;
  }

  .aiflow-opt-max-connect-section-content {
    left: 0;
  }

  .aiflow-opt-max-connect-section-content-text-cont {
    width: 40%;
  }

  .aiflow-opt-max-connect-section-content-image-cont img {
    height: 50%;
  }
}

@media (max-width: 736px) {
  .aiflow-opt-max-connect-section {
    background: #020206;
  }

  .aiflow-opt-max-connect-section-content {
    flex-direction: column;
    left: 0;
  }

  .aiflow-opt-max-connect-section-content-text-cont {
    box-sizing: border-box;
    width: 100%;
    padding: 2em 1em;
  }

  .aiflow-opt-max-connect-section-content-image-cont {
    display: none;
  }

  .aiflow-opt-max-connect-section-content-image-cont-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
  }

  .aiflow-opt-max-connect-section-content-image-cont-mobile img {
    width: 100%;
    height: 100%;
    mix-blend-mode: lighten;
    object-fit: contain;
  }
}

/* NETWORK CAROUSEL SECTION */
.aiflow-opt-network-carousel-section .aiflow-opt-section-header {
  text-align: center;
}

/* SWIPER STYLES */
.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  background-position: center;
  background-size: cover;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 700px;
  object-fit: cover;
}

.carousel-section-header-cont {
  position: absolute;
  top: 15%;
  left: 30%;
  color: white;
  z-index: 100;
}

.carousel-button-cont {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  align-items: center;
  z-index: 100;
  justify-content: space-around;
}

.carousel-button-prev img, .carousel-button-next img {
  cursor: pointer;
  width: 40px;
  height: 40px;
}

.carousel-section-header-cont-mobile {
  display: none;
}

@media (max-width: 1280px) {
  .carousel-section-header-cont {
    left: 23%;
  }
}

@media (max-width: 1024px) {
  .swiper-slide img {
    height: 600px;
  }

  .carousel-section-header-cont {
    top: 5%;
    left: 8%;
    width: 80%;
  }

  .carousel-button-cont {
    justify-content: space-between;
    width: 80%;
    left: 10%;
  }
}

@media (max-width: 736px) {
  .swiper-slide img {
    height: 350px;
  }

  .carousel-section-header-cont {
    display: none;
  }

  .carousel-section-header-cont-mobile {
    display: flex;
    flex-direction: column;
  }

  .carousel-section-header-cont {
    position: initial;
    color: black;
  }

  .carousel-button-cont {
    width: 90%;
    left: 4%;
  }
}

/* NETWORK DOCTOR SECTION */

.aiflow-opt-channel-analyzer-section .aiflow-opt-section-header-cont div, .aiflow-opt-network-doctor-section .aiflow-opt-section-header-cont div {
  text-align: center;
}

.aiflow-opt-channel-analyzer-section-image-cont, .aiflow-opt-network-doctor-section-image-cont {
  overflow: hidden;
}

.aiflow-opt-channel-analyzer-section-image-cont picture, .aiflow-opt-network-doctor-section-image-cont picture {
  display: block;
  max-width: 100%;
}

.aiflow-opt-channel-analyzer-section-image-cont picture img, .aiflow-opt-network-doctor-section-image-cont picture img {
  display: block;
  max-width: 1200px;
}

@media (max-width: 1024px) {
  .aiflow-opt-channel-analyzer-section-image-cont picture, .aiflow-opt-network-doctor-section-image-cont picture {
    max-width: 750px;
  }

  .aiflow-opt-channel-analyzer-section-image-cont picture img, .aiflow-opt-network-doctor-section-image-cont picture img {
    max-width: 100%;
  }
}

@media (max-width: 736px) {
  .aiflow-opt-channel-analyzer-section-image-cont picture, .aiflow-opt-network-doctor-section-image-cont picture {
    width: 100%;
  }

  .aiflow-opt-channel-analyzer-section-image-cont picture img, .aiflow-opt-network-doctor-section-image-cont picture img {
    padding: 0;
  }
}

/* FEATURE COMPARISON SECTION */
.aiflow-opt-feature-comparison-section .aiflow-opt-section-header {
  text-align: center;
}

.comparison-chart-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 15px 0;
  border-bottom: 1px solid #aaabac;
}

.comparison-chart-header {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 20px;
  align-items: center;
  background-color: #e2e2e2;
  border-radius: 1em;
  padding: 0.2em 1em;
}

.comparison-chart-header h1 {
  font-size: 20px;
  font-weight: 600;
  color: #333;
}

.comparison-chart-product-header {
  text-align: center;
}

.comparison-chart-product-name {
  font-size: 18px;
  font-weight: 700;
  color: #333;
}

.comparison-chart-product-subtitle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-size: 12px;
  color: #666;
  margin-top: -1em;
}

.comparison-chart-free-badge img {
  width: 40px;
  height: 40px;
}

.comparison-chart-section-title {
  font-size: 18px;
  font-weight: 700;
  color: #333;
  margin: 1em 0;
  padding-left: 10px;
}

.comparison-chart-feature-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 20px;
  align-items: center;
  border-radius: 1em;
}

.comparison-chart-feature-row:nth-child(odd) {
  background-color: #f6f6f6;
}

.comparison-chart-feature-name {
  font-size: 14px;  
  color: #333;
  padding-left: 10px;
  font-weight: 400;
}

.comparison-chart-feature-name .indent {
  margin-left: 1em;
  font-size: 13px;
  color: #666;
  list-style-type: disc; 
  font-weight: 300;
}

.comparison-chart-checkmark {
  text-align: center;
  font-size: 20px;
}

.comparison-chart-checkmark.yes::before {
  content: "•";
  color: #333;
  font-size: 24px;
}

.comparison-chart-checkmark.no::before {
  content: "✕";
  color: #999;
  font-size: 18px;
}

@media (max-width: 1024px) {
  .comparison-chart-container {
    max-width: 100%;
    margin: 0 4em;
  }

  .comparison-chart-product-subtitle {
    width: 200px;
  }
}

@media (max-width: 736px) {
  .comparison-chart-container {
    padding: 15px;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 3em;
  }

  .comparison-chart-header,
  .comparison-chart-feature-row {
      grid-template-columns: 1.5fr 1fr 1fr 1fr;
      gap: 0;
  }

  .comparison-chart-header {
    border-radius: 0.5em;
  }

  .comparison-chart-header h1, .comparison-chart-section-title {
    font-size: 14px;
  }

  .comparison-chart-product-name {
    font-size: 12px;
  }

  .comparison-chart-product-subtitle {
    font-size: 8px;
    line-height: 0.8em;
    width: 100px;
  }

  .comparison-chart-feature-row {
    border-radius: 0.5em;
  }

  .comparison-chart-feature-name {
    font-size: 12px;
  }

  .comparison-chart-product-name {
    font-size: 11px;
  }

  .comparison-chart-feature-name .indent {
    font-size: 12px;
  }

  .comparison-chart-free-badge img {
    width: 20px;
    height: 20px;
  }
}

/* DOWNLOAD SOFTWARE SECTION */
.aiflow-opt-download-software-section {
  background-color: #f3f3f3;
  max-width: 100%;
}

.aiflow-opt-download-software-section-button {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #4acbd6;
  border: none;
  border-radius: 1em;
  width: 300px;
  padding: 1.5em;
  gap: 1em;
}

.aiflow-opt-download-software-section-button img {
  width: 25px;
  height: 29px;
}

.aiflow-opt-download-software-section-button-text {
  font-size: 1.5em;
  font-weight: 500;
}

.aiflow-opt-download-software-section-note, .aiflow-opt-download-software-section-note-mobile {
  font-size: 1em;
  color: #8b8b8b;
  margin-top: 3em;
  text-align: center;
}

.aiflow-opt-download-software-section-note-mobile {
  display: none;
}

@media (max-width: 1024px) {
  .aiflow-opt-download-software-section-button {
    width: 250px;
    padding: 1em;
  }
}

@media (max-width: 736px) {
  .aiflow-opt-download-software-section .aiflow-opt-section-header {
    text-align: center;
  }

  .aiflow-opt-download-software-section-note-mobile {
    display: block;
    margin: 0;
    font-size: 1.2em;
  }

  .aiflow-opt-download-software-section-note {
    display: none;
  }

  .aiflow-opt-download-software-section-button {
    margin-bottom: 3em;
  }
}

/* FULL POTENTIAL SECTION */
.aiflow-opt-full-potential-section .aiflow-opt-section-header {
  text-align: center;
}

.aiflow-opt-full-potential-section-link {
  font-size: 1.5em;
  font-weight: 400;
  color: black;
  margin-top: 2em;
  text-align: center;
  text-underline-offset: 0.5em;
}

.aiflow-opt-full-potential-section-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1em;
  margin-top: 3em;
  max-width: 1200px;
}

.aiflow-opt-full-potential-section-grid-item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2em;
  background-color: #f9f9f9;
  border-radius: 1em;
  border: 1px solid #eaeaea;
  padding: 3em 2em;
}

.aiflow-opt-full-potential-section-grid-item-image-cont {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.aiflow-opt-full-potential-section-grid-item-image-cont img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.aiflow-opt-full-potential-section-grid-item-bottom-cont {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2em;
}

.aiflow-opt-full-potential-section-grid-item-text-cont-header {
  font-size: 1.5em;
  font-weight: 400;
  line-height: 1.2;
}

.aiflow-opt-full-potential-section-grid-item-text-cont-description {
  font-size: 1.2em;
  line-height: 1.5em;
  margin-top: 0.5em;
}

.aiflow-opt-full-potential-section-grid-item-button {
  background-color: #4acbd6;
  border: none;
  border-radius: 0.5em;
  padding: 0.5em;
  font-weight: 600;
  font-size: 1.2em;
  width: fit-content;
}

.aiflow-opt-full-potential-section-note {
  font-size: 1em;
  color: #8b8b8b;
  margin-top: 3em;
  text-align: center;
} 

@media (max-width: 1024px) {
  .aiflow-opt-full-potential-section-link {
    font-size: 1.2em;
  }
  .aiflow-opt-full-potential-section-grid {
    max-width: 100%;
    padding: 0 4em;
  }

  .aiflow-opt-full-potential-section-grid-item-text-cont-header {
    font-size: 1em;
  }

  .aiflow-opt-full-potential-section-grid-item-text-cont-description {
    font-size: 0.9em;
  }

  .aiflow-opt-full-potential-section-grid-item-button {
    font-size: 0.9em;
  }

  .aiflow-opt-full-potential-section-note {
    padding: 0 6em;
    font-size: 1em;
  }
}

@media (max-width: 736px) {
  .aiflow-opt-full-potential-section-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 1em;
  }

  .aiflow-opt-full-potential-section-grid-item {
    padding: 2em 1em;
  }

  .aiflow-opt-full-potential-section-grid-item-button {
    font-size: 1em;
  }

  .aiflow-opt-full-potential-section-grid-item-text-cont-header {
    font-size: 1.2em;
    font-weight: 500;
  }

  .aiflow-opt-full-potential-section-grid-item-text-cont-description {
    font-size: 1em;
  }

  .aiflow-opt-full-potential-section-note {
    font-size: 1.2em;
    margin-bottom: 3em;
  }
}