/* ================================================================
   SERVICE PAGE STYLES
   ================================================================ */

/* ================================================================
   01. HERO SECTION
   ================================================================ */

.service-hero {
  background-color: #F8F9FA;
  padding: 150px 0 100px;
}

.service-hero__container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 60px;
  text-align: center;
}

.service-hero__title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  color: #1A214D;
  margin-bottom: 30px;
}

.service-hero__subtitle {
  font-size: 36px;
  font-weight: 600;
  color: #3E444C;
  line-height: 1;
  margin-bottom: 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .service-hero {
    padding: 100px 0 60px;
  }

  .service-hero__container {
    padding: 0 20px;
  }

  .service-hero__title {
    font-size: 28px;
  }

  .service-hero__subtitle {
    font-size: 20px;
  }
}


/* ================================================================
   02. INTEGRATION DIAGRAM SECTION
   ================================================================ */

.integration-section {
  background-color: #F8F9FA;
  padding: 0 0 150px;
}

.integration-section__container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 60px;
  display: flex;
  justify-content: center;
}

.integration-diagram__full {
  width: 100%;
  max-width: 1100px;
  height: auto;
  display: block;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .integration-section {
    padding: 0 0 60px;
  }

  .integration-section__container {
    padding: 0 20px;
  }

  .integration-diagram__full {
    max-width: 100%;
  }
}


/* ================================================================
   03. FEATURES SECTION
   ================================================================ */

.features-section {
  background-color: #EBEBEB;
  padding: 150px 0;
}

.features-section__container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 60px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
}

.features-section__title {
  font-size: 36px;
  font-weight: 600;
  color: #1A214D;
  text-align: center;
  line-height: normal;
  margin: 0;
}

/* Feature Tabs */
.features-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin: 0;
}

.features-tab {
  padding: 10px 30px;
  font-size: 16px;
  font-weight: 400;
  color: #3E444C;
  background-color: transparent;
  border: 1px solid #3E444C;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.3s ease;
  line-height: 1.3;
}

.features-tab--active {
  background-color: #1A214D;
  color: #FFFFFF;
  border-color: #1A214D;
}

.features-tab:hover {
  background-color: #1A214D;
  color: #FFFFFF;
  border-color: #1A214D;
}

/* Features List */
.features-list {
  display: flex;
  flex-direction: column;
  gap: 110px;
  width: 100%;
  margin-top: 70px;
  align-items: center;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 80px;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* 초기 상태: coach와 parent 탭 콘텐츠 숨김 */
.feature-item[data-tab-content="coach"],
.feature-item[data-tab-content="parent"] {
  display: none;
}

.feature-item.hidden {
  display: none !important;
}

.feature-item.fade-out {
  opacity: 0;
  transform: translateY(20px);
}

/* Feature Screens */
.feature-item__screens {
  width: 480px;
  height: 300px;
  border-radius: 16px;
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
}

.feature-item__screens--bg {
  background-color: rgba(255, 255, 255, 0.4);
}

.feature-item__screens--watchboard {
  height: 270px;
}

.feature-screen {
  border-radius: 8px;
  position: absolute;
}

.feature-screen--1 {
  width: 300px;
  height: 188px;
  left: 25px;
  top: 10px;
}

.feature-screen--2 {
  width: 300px;
  height: 188px;
  left: 155px;
  top: 102px;
  box-shadow: 0px 4px 6px 0px rgba(0, 0, 0, 0.1);
}

.feature-screen--center {
  width: 330px;
  height: 206px;
  left: 50%;
  top: 50%;
  transform: translate(calc(-50% - 30px), calc(-50% - 21px));
}

.feature-screen--popup1 {
  width: 118px;
  height: 82px;
  left: 223px;
  top: 198px;
}

.feature-screen--popup2 {
  width: 97px;
  height: 96px;
  left: 347px;
  top: 191px;
}

.feature-screen--popup3 {
  width: 88px;
  height: 88px;
  left: 129px;
  top: 195px;
}

.feature-screen--single {
  width: 480px;
  height: 100%;
  left: 0;
  top: 0;
  box-shadow: 0px 4px 6px 0px rgba(0, 0, 0, 0.1);
}

.feature-screen--diary1 {
  width: 207px;
  height: 536px;
  left: 28px;
  top: 9px;
}

.feature-screen--diary2 {
  width: 212px;
  height: 255px;
  left: 245px;
  top: 31px;
}

/* Feature Content */
.feature-item__content {
  width: 520px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  text-align: center;
  flex-shrink: 0;
}

.feature-item__title {
  font-size: 26px;
  font-weight: 700;
  color: #1A214D;
  line-height: normal;
  margin: 0;
}

.feature-item__subtitle {
  font-size: 22px;
  font-weight: 400;
  color: #3E444C;
  line-height: normal;
  margin: 0;
}

.feature-item__subtitle strong {
  font-weight: 700;
}

.feature-item__description {
  font-size: 16px;
  font-weight: 400;
  color: #3E444C;
  line-height: 1.3;
  margin: 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .features-section {
    padding: 80px 0;
  }

  .features-section__container {
    padding: 0 20px;
  }

  .features-section__title {
    font-size: 24px;
    margin-bottom: 60px;
  }

  .features-tabs {
    flex-wrap: wrap;
    margin-bottom: 60px;
  }

  .features-tab {
    padding: 8px 20px;
    font-size: 14px;
  }

  .features-list {
    gap: 80px;
  }

  .feature-item {
    flex-direction: column !important;
    gap: 40px;
  }

  .feature-item__screens {
    width: 100%;
    max-width: 400px;
    height: 250px;
  }

  .feature-screen--1 {
    width: 250px;
    height: 156px;
    left: 20px;
    top: 8px;
  }

  .feature-screen--2 {
    width: 250px;
    height: 156px;
    left: 130px;
    top: 85px;
  }

  .feature-screen--center {
    width: 275px;
    height: 172px;
  }

  .feature-screen--popup1 {
    width: 98px;
    height: 68px;
    left: 186px;
    top: 165px;
  }

  .feature-screen--popup2 {
    width: 81px;
    height: 80px;
    left: 289px;
    top: 159px;
  }

  .feature-screen--popup3 {
    width: 73px;
    height: 73px;
    left: 107px;
    top: 163px;
  }

  .feature-screen--single {
    width: 100%;
  }

  .feature-screen--diary1 {
    width: 172px;
    height: 446px;
    left: 23px;
    top: 7px;
  }

  .feature-screen--diary2 {
    width: 177px;
    height: 213px;
    left: 204px;
    top: 26px;
  }

  .feature-item__content {
    width: 100%;
  }

  .feature-item__title {
    font-size: 22px;
  }

  .feature-item__subtitle {
    font-size: 18px;
  }

  .feature-item__description {
    font-size: 14px;
  }
}
