/* Function Container - 功能切換介面 */
.function-container * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.function-container {
  background-color: #ffffff;
  padding: 60px;
  margin: 0px auto;
  max-width: 1200px;
}

.function-container.function-align-right .image-section {
  margin-left: auto;
  margin-right: 0;
  align-items: flex-end;
}

.function-container .content-wrapper {
  display: flex;
  gap: 80px;
  align-items: flex-start;
  margin-top: 20px;
}

.function-container .tabs-section {
  flex: 0 0 300px;
}

.function-container .tab-item {
  padding: 20px 0 10px 0px;
  cursor: pointer;
  color: #666;
  transition: all 0.3s ease;
  border-bottom: 1px solid #e5e5e5;
  position: relative;
}

.function-container .tab-item:last-child {
  border-bottom: none;
}

.function-container .tab-item:hover {
  color: #333;
}

.function-container .tab-item.active {
  color: #008cd6;
  font-weight: 600;
}

.function-container .tab-item.active {
  color: #008cd6;
  font-weight: 600;
  border-bottom: 3px solid #008cd6;
}

.function-container .image-section {
  flex: 1;
  text-align: center;
  max-width: 700px;
  max-height: none;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  overflow: visible;
  position: relative;
}

.function-container .device-image {
  width: 100%;
  max-height: 400px;
  height: auto;
  object-fit: contain;
  display: none;
  animation: fadeIn 0.5s ease;
}

.function-container .device-image.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.function-container .description {
  text-align: center;
  margin-top: 16px;
  color: #666;
}
/* Function Container - 結束 */

/* Template features slider */
.test-carousel-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 0;
}

/* 頂部按鈕區 */
.carousel-nav-buttons {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
  padding: 0;
  display: flex;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 20px;
  flex-wrap: nowrap;
}

.carousel-nav-btn {
  background: #f0fbff;
  color: black;
  border: none;
  padding: 16px 20px;
  cursor: pointer;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 0 6px #08627e3a;
  position: relative;
  overflow: hidden;
  text-align: left;
  width: 100%;
  box-sizing: border-box;
  height: 100px;
}

.carousel-nav-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.carousel-nav-btn.active {
  background: linear-gradient(145deg, #2c3e50, #34495e);
  color: white;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transform: translateY(-1px);
}

.carousel-nav-btn:hover::before {
  left: 100%;
}

/* 輪播容器 */
.carousel-container {
  position: relative;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.carousel-wrapper {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide {
  min-width: 100%;
  display: flex;
  align-items: stretch;
  padding: 0;
  gap: 0;
  background: rgb(176, 213, 227);
  min-height: 550px;
}

.slide-content {
  flex: 0 0 45%;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.slide-visual {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0px;
}

.slide-visual video.slide-image {
  width: 80%;
  height: auto;
  object-fit: contain;
}

.clip_bg {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(255, 255, 255, 0.85) 100%
  );
  padding: 40px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 0;
  clip-path: polygon(88% 0, 100% 25%, 100% 100%, 0 100%, 0 0);
  position: relative;
  height: 350px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.clip_bg::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 30px;
  height: 30px;
  background: linear-gradient(
    135deg,
    transparent 50%,
    rgba(255, 255, 255, 0.3) 50%
  );
}

.slide h2 {
  color: #2c3e50;
  margin-bottom: 15px;
  line-height: 1.2;
}

.slide-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* 飄浮圖標動畫 */
.animation_icons {
  justify-content: flex-start;
  gap: 20px;
  transform: translateY(-20px);
}

.animation_icons img {
  width: 50px;
  height: 50px;
  background: white;
  border-radius: 10px;
  padding: 8px;
  box-shadow: 0 0 10px #08627e3a;
  transition: all 0.3s ease;
  animation: iconFloat 3s ease-in-out infinite;
  cursor: pointer;
}

/* 各小圖個別角度與尺寸設定 */
.animation_icons img:nth-child(1) {
  animation: float_icon1 3s ease-in-out infinite;
}

.animation_icons img:nth-child(2) {
  animation: float_icon2 4.5s ease-in-out infinite;
}

.animation_icons img:nth-child(3) {
  animation: float_icon3 3s ease-in-out infinite;
}

.animation_icons img:nth-child(4) {
  animation: float_icon4 3.5s ease-in-out infinite;
}

@keyframes iconFloat {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  }
  25% {
    transform: translateY(-8px) rotate(2deg);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
  }
  50% {
    transform: translateY(-15px) rotate(0deg);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
  }
  75% {
    transform: translateY(-8px) rotate(-2deg);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
  }
}

.animation_icons img:hover {
  transform: rotate(15deg);
  box-shadow: 0 0 4px #08627e3a !important;
  animation-play-state: paused;
}

/* 指示器 */
.carousel-indicators {
  display: none !important;
}

.carousel-indicator {
  width: 12px;
  height: 12px;
  background: #bdc3c7;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-indicator.active {
  background: #3498db;
  transform: scale(1.2);
}

/* 導航箭頭 */
.carousel-nav-group {
  position: absolute;
  bottom: 20px;
  right: 20px;
  display: flex;
  gap: 14px;
  z-index: 10;
}

.carousel-nav-btn-img {
  width: 60px;
  height: 60px;
  border: none;
  background: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: transform 0.2s ease;
}

.carousel-nav-btn-img:hover {
  transform: scale(1.05);
}

.carousel-nav-btn-img img {
  width: 30px;
  height: 30px;
}
/* Template features slider  結束*/

/*  floor Map */
.feature-switcher-container {
  max-width: 960px;
  margin: 0px auto;
  text-align: center;
  padding: 60px;
  background-color: #ffffff;
}

.switcher-logo {
  height: 64px;
  width: auto;
  display: block;
  margin: 0 auto 20px;
}

.switcher-description {
  margin-bottom: 24px;
  color: #333;
}

/* 三個切換按鈕的容器 */
.switcher-tabs {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 0 auto 20px;
  position: relative;
  border-bottom: none;
}

.switcher-tab {
  flex: 1;
  text-align: center;
  padding: 12px 0;
  cursor: pointer;
  position: relative;
  transition: color 0.3s ease;
  border-bottom: 2px solid #eee;
}

.switcher-tab.active {
  color: #008cd6;
  font-weight: 600;
  border-bottom: 3px solid #008cd6;
}

/* 圖片容器區塊 */
.switcher-image-wrapper {
  width: 100%;
  max-width: 900px;
  margin: 20px auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.switcher-image {
  display: none;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.switcher-image.active {
  display: block;
}

.switcher-text {
  margin-top: 16px;
  color: #666;
}
/*  floor Map -- 結束*/

/* fiveEasy */
.integration-section {
  background: #f5f5f5;
  padding: 60px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.integration-section .integration-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 60px;
  padding: 10px 60px;
}

.content-left {
  flex: 1;
  max-width: 400px;
}

.content-left h2 {
  color: #333;
  margin-bottom: 20px;
  font-weight: 600;
  line-height: 1.2;
}

.step-icon img {
  width: 60px;
  height: 60px;
  margin-bottom: 10px;
}

.content-left p {
  color: #666;
  line-height: 1.5;
}

.integration-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  flex: 1;
}

.integration-card {
  background: white;
  border-radius: 8px;
  padding: 30px 80px 30px 30px;
  text-align: left;
  box-shadow: 0 2px 15px #e5e5e58e;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.integration-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  border-color: #008cd6;
}

.integration-card img {
  width: 48px;
  height: 48px;
  margin-bottom: 15px;
}

.integration-card h3 {
  color: #333;
  margin-bottom: 8px;
  font-weight: 600;
}

.integration-card p {
  color: #666;
  line-height: 1.4;
}
/* Modal Styles */

.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  animation: fadeIn 0.3s ease;
}

.modal-overlay.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal {
  background: white;
  border-radius: 20px;
  max-width: 100%;
  overflow-x: hidden;
  width: 90%;
  max-height: 80vh;
  overflow: visible;
  position: relative;
  animation: slideUp 0.3s ease;
  margin: 0;
  box-sizing: border-box;
}

.modal-header {
  padding: 60px 30px 0px;
  text-align: center;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 25px;
  background: none;
  border: none;
  font-size: 30px;
  cursor: pointer;
  color: #4285f4;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.2s;
}

.modal-close:hover {
  background-color: #f0f0f0;
}

.modal-subtitle {
  color: #666;
  line-height: 1.5;
  padding-top: 10px;
}

.modal-content {
  padding: 30px;
  text-align: center;
  position: relative;
}

.step-container {
  background: transparent;
  overflow: hidden;
  margin-top: 20px;
  height: 300px;
  position: relative;
}

.step {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  text-align: left;
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  padding: 30px 20px;
  gap: 40px;
  box-sizing: border-box;
}

.step.active {
  opacity: 1;
  transform: translateX(0);
}

.step.prev {
  transform: translateX(-100%);
  opacity: 0;
}

.step.next {
  transform: translateX(100%);
  opacity: 0;
}

.step-text.vertical-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex: 1;
  max-width: 50%;
  padding: 20px 0;
  height: 300px;
  box-sizing: border-box;
}

.step-text {
  flex: 1;
  max-width: 50%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 0 10px;
  box-sizing: border-box;
}

.step-number {
  font-size: 30px;
  font-weight: bold;
  color: #2196f3;
  margin-bottom: 12px;
}

.step-icon img {
  width: 80px;
  height: 80px;
  margin-bottom: 12px;
}

.step-description-wrapper {
  max-width: 300px;
  text-align: center;
}

.step-description {
  color: #333;
  line-height: 1.6;
}

.step-image {
  flex: 0 0 60%;
  max-width: 60%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 10px;
  box-sizing: border-box;
}

.step-image img {
  width: 100%;
  max-width: 600px;
  height: auto;
}

.nav-button {
  background: #4285f4;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 25px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
  min-width: 80px;
}

.nav-button:hover {
  background: #3367d6;
  transform: translateY(-2px);
}

.nav-button:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
}

.step-indicators {
  display: flex;
  gap: 8px;
}

.indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ddd;
  transition: background-color 0.3s ease;
}

.indicator.active {
  background: #008cd6;
}

.modal-navigation {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 20px;
  right: 20px;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 10;
}

.modal-navigation .arrow-nav {
  pointer-events: auto;
}

.step-indicators {
  display: flex;
  justify-content: center;
  margin: 30px;
  gap: 8px;
}

.arrow-nav {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background-color: #4285f4;
  color: #fff;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.arrow-nav:hover {
  background-color: #3367d6;
  transform: scale(1.1);
}

.arrow-nav:disabled {
  background-color: #ccc;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.productName span {
  max-width: 1200px;
}

.subButtonAll {
  max-width: 1200px;
}

/* 動畫效果 */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* fiveEasy 結束*/

/* media manager */
.function-container-media {
  background-color: #ffffff;
}

.media-header-centered {
  text-align: center;
  margin-bottom: 40px;
}

.media-header-centered .media-logo {
  display: inline-block;
  height: 64px;
  margin-bottom: 16px;
}

.media-header-centered p {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.function-container-media .content-wrapper {
  display: flex;
  gap: 80px;
  align-items: center;
  margin-top: 20px;
}

.image-title {
  color: #000;
  margin-bottom: 6px;
}

.media-feature-v2 .image-section.image-with-title.media-align-right {
  margin-left: auto;
  margin-right: 0;
}

.media-feature-v2 .device-image.media-image-fixed {
  object-fit: contain;
}
/*media manager 結束*/

/* special section */
.special-section {
  margin: 0px auto 20px auto;
  padding: 60px 20px;
  text-align: center;
}

.special-section .title {
  margin-bottom: 40px;
  color: #1a1a1a;
}

.special-grid {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto;
}

.special-item {
  width: 100%;
  max-width: 300px;
  text-align: center;
}

.special-item img {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
}

.special-item h3 {
  margin: 8px 0;
  font-weight: 600;
  color: #000;
}

.special-item p {
  color: #666;
}

.special-item i {
  color: #007ed4;
  margin-bottom: 16px;
  display: inline-block;
  font-size: 45px;
}
/* special section 結束*/

/* rwd */
@media (min-width: 1025px) {
  .modal {
    max-width: 1200px;
    width: 100%;
  }
}

@media (max-width: 1366px) {
  .function-container {
    max-width: 1024px;
  }

  .function-container .content-wrapper {
    gap: 60px;
  }

  .carousel-nav-buttons {
    flex-wrap: nowrap;
    overflow-x: auto;
  }

  .carousel-nav-btn {
    height: auto;
    white-space: normal;
    word-break: break-word;
    padding: 14px 16px;
    font-size: 16px;
    line-height: 1.4;
    flex: 1;
    min-width: 0;
    text-align: left;
    box-sizing: border-box;
  }
}

/* 響應式設計 - 1024px */
@media (max-width: 1024px) {
  .store_wrap {
    justify-content: flex-start;
    padding-right: 0;
    padding-top: 5px;
    gap: 10px;
    width: 450px;
  }

  .productHeader .header_wrap .title_and_Logo .logo {
    width: 60px;
    border-radius: 10px;
  }

  .productHeader .contents h1 {
    max-width: 50%;
  }

  /* function展示  */
  .function-container {
    padding: 40px;
  }

  .function-container .content-wrapper {
    gap: 40px;
  }

  /* Template features slider */
  .test-carousel-container {
    padding: 40px 20px;
    box-sizing: border-box;
  }

  .carousel-nav-buttons.collapsed .carousel-nav-btn:not(.active) {
    display: none;
  }

  .carousel-nav-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0 20px;
  }

  .carousel-nav-btn {
    width: 100%;
    min-height: 80px;
    text-align: left;
    padding: 14px 20px;
    border: none;
    font-size: 16px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .carousel-nav-btn::after {
    content: "›";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 45px;
    color: #ffffff;
  }

  .carousel-nav-btn.active::after {
    transform: translateY(-50%) rotate(90deg);
  }

  .carousel-container {
    margin: 0;
    max-width: 100%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  }

  .slide {
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    min-height: auto;
    box-sizing: border-box;
  }

  .slide-visual {
    padding: 20px 20px;
    min-height: unset;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .slide-visual video.slide-image {
    width: 85%;
    max-width: 500px;
    height: auto;
    object-fit: contain;
  }

  .slide-content {
    width: 100%;
    padding: 0;
    order: 2;
  }

  .clip_bg {
    padding: 20px 40px;
    margin: 10px 40px 20px;
  }

  .clip_bg::before {
    display: none;
  }

  .slide h2 {
    margin-bottom: 15px;
    text-align: start;
    line-height: 1.3;
  }

  .slide p {
    text-align: start;
    line-height: 1.5;
    margin-bottom: 20px;
  }

  .animation_icons {
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    transform: translateY(-50px);
  }

  .animation_icons img {
    width: 50px;
    height: 50px;
    padding: 6px;
  }

  /* 四步驟功能區塊 */
  .integration-section {
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
  }

  .integration-section .integration-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 0 20px;
  }

  .content-left {
    max-width: 100%;
    text-align: center;
  }

  .content-left h2 {
    font-size: 1.8em;
  }

  .integration-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    width: 100%;
    max-width: 600px;
  }

  .integration-card {
    padding: 20px 30px;
  }

  .arrow-nav {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .step {
    gap: 10px;
    padding: 30px 30px;
  }

  /* media manager */
  .media-feature-v2 .device-image.media-image-fixed {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
  }
}

/* 響應式設計 - 768px */
@media (max-width: 768px) {
  .function-container .content-wrapper {
    flex-direction: column;
    gap: 30px;
    align-items: center;
  }

  .function-container .tabs-section {
    width: 100%;
    max-width: 100%;
    text-align: center;
    flex: 0 0 200px;
  }

  .function-container .image-section {
    width: 100%;
    max-width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
  }

  .function-container .device-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    object-fit: contain;
  }

  video.device-image {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .function-container .description {
    padding: 0 20px;
    text-align: center;
  }

  /* Template features slider */
  .slide {
    flex-direction: column;
    min-height: auto;
    align-items: stretch;
    padding: 0;
  }

  .slide-visual {
    padding: 0;
    position: relative;
    min-height: auto;
  }

  .slide-visual {
    flex: none;
    padding: 20px;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .slide-visual video.slide-image {
    width: 90%;
    height: auto;
    object-fit: contain;
  }

  .clip_bg {
    clip-path: none;
    padding: 20px;
    min-height: 280px;
    margin: 20px 30px 0;
  }

  .slide h2 {
    margin-bottom: 15px;
  }

  .animation_icons img {
    width: 40px;
    height: 40px;
  }

  /* floor Map */
  .switcher-image-wrapper {
    height: 100%;
  }

  /* Media Manager */
  .function-container-media .content-wrapper {
    gap: 24px;
    padding: 0 12px;
  }

  .function-container-media .tab-item {
    font-size: 18px;
    padding: 20px 0 10px 0px;
    font-weight: 500;
    color: #666;
    border-bottom: 1px solid #e5e5e5;
  }

  .function-container-media .tab-item.active {
    color: #008cd6;
    font-weight: 600;
    border-bottom: 3px solid #008cd6;
  }

  .function-container-media .image-section {
    margin-top: 0px;
    padding-top: 0px;
  }

  .function-container-media .device-image.media-image-fixed {
    margin-top: 0px;
  }

  /* special */
  .special-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    justify-items: center;
  }

  .special-grid .special-item:nth-child(3) {
    grid-column: 1 / -1;
    justify-self: center;
  }

  .special-item {
    width: 100%;
    max-width: 260px;
  }

  .productHeader .header_wrap {
    padding-left: 24px;
    padding-right: 24px;
  }

  .productHeader .header_wrap {
    padding-left: 24px;
    padding-right: 24px;
    box-sizing: border-box;
  }
  .store_wrap {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px;
    margin-left: 0;
    padding-left: 0;
    padding-right: 0;
    width: 100%;
    max-width: 600px;
  }

  .store_wrap > a,
  .store_wrap > .download_meetingPost {
    max-width: none;
    width: auto;
  }
}

@media (min-width: 769px) {
  .special-grid {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
  }

  .special-item {
    width: 260px;
  }

  .store_wrap {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px;
    margin-left: 0;
    padding-left: 0;
    padding-right: 0;
    width: 100%;
    max-width: 600px;

    .store_wrap > a,
    .store_wrap > .download_meetingPost {
      max-width: none;
      width: auto;
    }
  }
}

/* 響應式設計 - 600px */
@media (max-width: 600px) {
  .productHeader .contents h1 {
    max-width: 100%;
  }

  .store_wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    margin: 15px 0;
    width: 100%;
  }

  .store_wrap > a,
  .store_wrap > .download_meetingPost {
    display: block;
    width: 100%;
    max-width: 280px;
    text-align: center;
  }

  .store_wrap img {
    width: 100%;
    height: auto;
  }

  .store_wrap > .download_meetingPost {
    width: 90%;
    max-width: 150px;
    box-sizing: border-box;
  }

  /* function展示  */
  .function-container .content-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .function-container .image-section {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
  }

  .function-container .device-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
  }

  video.device-image {
    width: 100%;
    height: auto;
  }

  .function-container .tabs-section {
    flex: 1;
    width: 100%;
  }

  .function-container {
    padding: 30px 10px;
  }

  .function-container h2 {
    text-align: center;
  }

  /* Template features slider */
  .test-carousel-container {
    padding: 40px 0;
  }

  .carousel-nav-buttons {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 0 20px;
    margin-bottom: 30px;
  }

  .carousel-nav-btn {
    width: 100%;
    height: 80px;
    font-size: 15px;
    text-align: center;
  }

  .slide {
    flex-direction: column;
    min-height: auto;
    align-items: stretch;
    padding: 0;
  }

  .slide-visual video.slide-image {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .slide-content {
    flex: none;
    width: 100%;
    order: 1;
    padding: 0;
    position: relative;
    min-height: auto;
  }

  .slide-visual {
    flex: none;
    padding: 20px;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .slide-visual video.slide-image {
    width: 90%;
    height: auto;
    object-fit: contain;
  }

  .clip_bg {
    clip-path: none;
    padding: 25px 20px;
    margin: 5px 20px 20px 20px;
    margin-bottom: 0;
  }

  .clip_bg::before {
    display: none;
  }

  .slide {
    width: 100%;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    min-height: auto;
    box-sizing: border-box;
  }

  .slide h2 {
    font-size: 1.6em;
    margin-bottom: 15px;
    text-align: start;
    line-height: 1.3;
  }

  .slide p {
    font-size: 1.2em;
    text-align: start;
    line-height: 1.5;
    margin-bottom: 20px;
  }

  .animation_icons {
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
  }

  .animation_icons img {
    width: 40px;
    height: 40px;
    padding: 6px;
  }

  .carousel-nav-group {
    bottom: 15px;
    right: 15px;
  }

  .carousel-nav-btn-img {
    width: 50px;
    height: 50px;
  }

  .carousel-nav-btn-img svg {
    width: 25px;
    height: 25px;
  }

  /* 確保每個slide完整顯示 */
  .carousel-container {
    overflow: hidden;
    width: 100%;
    padding: 0;
  }

  .carousel-wrapper {
    min-height: auto;
  }

  /* floor Map */
  .feature-switcher-container {
    padding: 30px 20px;
  }

  .switcher-logo {
    height: 48px;
    margin-bottom: 16px;
  }

  .switcher-description {
    font-size: 16px;
    margin-bottom: 16px;
    padding: 0 10px;
  }

  .switcher-tabs {
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
  }

  .switcher-tab {
    font-size: 18px;
    padding: 10px 0;
    border-bottom: 2px solid #eee;
  }

  .switcher-tab.active {
    border-bottom: 3px solid #008cd6;
    font-weight: bold;
  }

  .switcher-image-wrapper {
    height: auto;
    max-height: 320px;
  }

  .switcher-image {
    max-height: 280px;
    width: 100%;
    object-fit: contain;
  }

  .switcher-text {
    font-size: 14px;
    margin-top: 12px;
    line-height: 1.5;
    padding: 0 10px;
  }
  /* 四步驟功能區塊 */
  .integration-section {
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
  }

  .integration-section .integration-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 0;
    max-width: 100%;
    width: 100%;
  }

  .content-left {
    max-width: 100%;
    text-align: center;
    padding: 0 10px;
  }

  .content-left h2 {
    font-size: 1.8em;
    line-height: 1.3;
    margin-bottom: 16px;
  }

  .content-left p {
    font-size: 1.1em;
    line-height: 1.5;
    max-width: 90%;
    margin: 0 auto;
  }

  .integration-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 100%;
    padding: 0 10px;
  }

  .integration-card {
    padding: 25px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    min-height: 140px;
    justify-content: center;
  }

  .integration-card img {
    width: 56px;
    height: 56px;
    margin-bottom: 12px;
  }

  .integration-card h3 {
    font-size: 1.1em;
    margin-bottom: 8px;
    text-align: center;
  }

  .integration-card p {
    font-size: 1em;
    line-height: 1.4;
    text-align: center;
  }

  .modal {
    max-width: 100%;
    box-sizing: border-box;
    max-height: 90vh;
    margin: 0 auto;
    border-radius: 15px;
  }

  .modal-header {
    padding: 40px 20px 0;
  }

  .modal-header h2 {
    font-size: 1.6em;
    line-height: 1.3;
  }

  .modal-subtitle {
    font-size: 1em;
    padding: 0 10px;
  }

  .modal-content {
    padding: 0px 15px 20px 15px;
  }

  .step-container {
    height: auto;
    min-height: 400px;
    margin-top: 15px;
  }

  .step {
    flex-direction: column;
    text-align: center;
    padding: 20px 15px;
    gap: 25px;
    height: auto;
    min-height: 400px;
  }

  .step-text {
    flex: none;
    max-width: 100%;
    width: 100%;
    order: 1;
  }

  .step-text.vertical-layout {
    max-width: 100%;
    width: 100%;
    height: auto;
    padding: 10px 0;
  }

  .step-image {
    flex: none;
    max-width: 100%;
    width: 100%;
    order: 2;
    padding: 0;
  }

  .step-image img {
    max-width: 100%;
    width: 90%;
    height: auto;
    max-height: 200px;
    object-fit: contain;
  }

  .step-number {
    font-size: 24px;
    margin-bottom: 8px;
  }

  .step-icon img {
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
  }

  .step-description-wrapper {
    max-width: 100%;
    width: 100%;
  }

  .step-description {
    font-size: 1em;
    line-height: 1.5;
  }

  .modal-navigation {
    top: 100px;
    left: 30px;
    right: 30px;
    transform: none;
    justify-content: space-between;
  }

  .arrow-nav {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .arrow-nav:disabled {
    opacity: 0.3;
  }

  .step-indicators {
    margin: 10px 0;
    gap: 10px;
  }

  .indicator {
    width: 10px;
    height: 10px;
  }

  .modal-close {
    top: 15px;
    right: 20px;
    font-size: 24px;
    width: 30px;
    height: 30px;
  }

  /* media manager */
  .function-container-media .content-wrapper {
    flex-direction: column;
    gap: 24px;
    padding: 0 16px;
    width: 100%;
    box-sizing: border-box;
  }

  .function-container-media .tabs-section {
    width: 100%;
  }

  .function-container-media .tab-item {
    width: 100%;
    text-align: center;
    padding: 14px 0;
    font-size: 16px;
  }

  .function-container-media .image-section {
    width: 100%;
    max-width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
  }

  .function-container-media .device-image.media-image-fixed {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  #function-description {
    text-align: center;
    margin-top: 16px;
    padding: 0 10px;
  }

  #media-title {
    font-size: 20px;
    margin-bottom: 8px;
  }

  #media-description {
    font-size: 14px;
    line-height: 1.6;
  }

  /* special section */
  .special-grid {
    grid-template-columns: 1fr !important;
  }

  @media (max-width: 360px) {
    .slide h2,
    .slide-title {
      font-size: 1.2em !important;
      line-height: 1.3 !important;
      text-align: left;
      word-break: break-word;
    }

    .clip_bg {
      padding: 16px 12px !important;
      clip-path: none !important;
      background: #fff;
    }

    .slide-content {
      padding: 0;
    }

    .slide {
      padding: 0;
      max-width: 100%;
    }

    .slide p {
      font-size: 0.9em;
      line-height: 1.5;
      text-align: left;
    }

    .animation_icons img {
      width: 30px;
      height: 30px;
      padding: 4px;
    }
  }
}
