.section-padding {
    padding: 90px 0;
}

.bg-light {
    background-color: #d7d1c5;
}

.con1 {
    height: 70px;
}

/* Section Title Style */
.section-title {
    font-size: 35px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    padding-bottom: 15px;
    letter-spacing: 2px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background-color: #bb162b;
}

.bg-red .section-title::after {
    background-color: #ffffff;
}

/* Hero Section (高度 630px) */
.hero {
    position: relative;
    background-image: url('../images/pc/index/BANNER_index.jpg');
    background-position: center;
    height: 610px;
    display: flex;
    align-items: center;
    color: #ffffff;
    background-repeat: no-repeat;
    background-color: #000000;
}

.hero .container {
    max-width: 1000px;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 570px;
    margin-top: -50px;
}

/* AI字樣上方紅線 */
.hero-content::before {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background-color: #bb162b;
    margin-bottom: 25px;
}

.hero h1 {
    font-size: 50px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.hero p {
    font-size: 20px;
    line-height: 1.6;
    opacity: 0.9;
}

.hero-device {
  position: absolute;
  bottom: -80px;
  right: 0px;
  z-index: 20;
  width: 52%;
  max-width: 780px;
  filter: drop-shadow(0px 0px 10px rgba(0, 0, 0, 0.2));
  margin: 20px;
}

.hero-device img {
    width: 100%;
    display: block;
    animation: floatDevice 5s ease-in-out infinite;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

@keyframes floatDevice {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}


.hero-border {
    height: 10px;
    background-color: #cb2f20;
    width: 100%;
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
    margin-top: 80px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-icon-wrapper {
    width: 200px;
    height: 200px;
    margin-bottom: 20px;
}

.feature-icon-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.feature-item h3 {
    font-size: 25px;
    font-weight: 500;
    letter-spacing: 1px;
}

/* Scenarios Section */
.scenarios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px 40px;
    text-align: center;
}

.scenario-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.scenario-img {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 25px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.scenario-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.scenario-item:hover .scenario-img img {
    transform: scale(1.1);
}

.scenario-item h3 {
    font-size: 25px;
    font-weight: 500;
    letter-spacing: 1px;
}

/* Stats Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.stat-icon img {
    width: 120px;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
    display: flex;
    align-items: baseline;
}

.stat-number span:last-child {
    font-size: 24px;
    margin-left: 5px;
}

.unit-m {
    font-size: 48px !important;
    margin-left: 2px !important;
}

.stat-text {
    font-size: 25px;
    font-weight: 300;
    letter-spacing: 2px;
}

/* Awards Section (精準對齊版) */
.awards {
    position: relative;
    background-color: #ffffff;
}

.swiper-container-wrapper {
    position: relative;
    padding: 40px 0 80px;
}

/* 水平灰線 (固定位置) */
.timeline-bg-line {
    position: absolute;
    top: 310px;
    /* = Padding-top(40) + Image Area Height(250) + Margin(20) */
    left: 0;
    right: 0;
    height: 1px;
    background-color: #ccc;
    z-index: 1;
}

.award-item {
    display: block;
    position: relative;
    z-index: 2;
    height: 100%;
    padding-bottom: 15px; /* 增加底部空間防止原點被 swiper 隱藏 */
}

/* 圖片與文字區塊 (底部切齊) */
.award-content {
    height: 250px;
    display: flex;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.award-img {
    width: 220px;
    height: 220px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.award-img img {
    max-height: 90%;
    max-width: 90%;
    object-fit: contain;
    /* 移除原本的 box-shadow，因為容器已經有陰影或圓角處理 */
}

.award-info {
    padding-bottom: 5px;
    max-width: 200px;
}

.award-date {
    font-size: 15px;
    color: #666;
    margin-bottom: 5px;
}

.award-title {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    line-height: 1.4;
}

/* 原點容器 - 給予明確高度確保不被截斷 */
.award-node {
    position: relative;
    height: 1px;
    /* 高度等同於灰線，作為對齊基準 */
    z-index: 10;
    /* 提高層級防止圖片或背景覆蓋 */
}

/* 灰色原點在線上，對齊文字區塊起點 */
.timeline-dot {
  width: 12px;
  height: 12px;
  background-color: #999;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: background-color 0.3s;
  z-index: 2;
}

.award-item:hover .timeline-dot {
    background-color: #bb162b;
}

/* Custom Swiper Navigation */
.custom-swiper-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #bb162b;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bb162b;
    cursor: pointer;
    background: transparent;
    transition: all 0.3s;
}

.nav-btn:hover,
.nav-btn.active {
    background-color: #bb162b;
    color: white;
}

.nav-btn.swiper-button-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    border-color: #ccc;
    color: #ccc;
}

.opacity-0 {
    opacity: 0;
}

@media (max-width: 1300px) {
  .hero {
      height: 550px;
  }
  .hero-device {
      width: 45%;
  }
  .hero h1 {
      font-size: 48px;
  }
  .feature-icon-wrapper {
      width: 180px;
      height: 180px;
      margin-bottom: 15px;
  }
}

@media (max-width: 992px) {
  .hero {
      height: 500px;
  }
  .hero-device {
      width: 40%;
  }
  .features-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 50px 30px;
  }
  .hero h1 {
      font-size: 45px;
  }
  
  .scenarios-grid {
      grid-template-columns: repeat(2, 1fr);
  }

}

@media (max-width: 768px) {
  .hero {
  height: 500px;
  padding: 200px 0 60px;
  background-size: cover;
  }

  .hero .container {
      flex-direction: column;
      height: auto;
  }

  .hero-content {
      margin-top: 0;
      align-items: center;
      text-align: center;
      max-width: 100%;
  }

  .hero-content::before {
      margin: 0 auto 20px auto;
  }
  .hero h1 {
      font-size: 30px;
  }
  .hero p {
      font-size: 18px;
  }
  .hero-device {
  position: relative;
  bottom: auto;
  right: auto;
  width: auto;
  margin-top: 80px;
  max-width: 320px;
  }

  .stats-grid {
      grid-template-columns: 1fr;
      gap: 50px;
  }

  .scenarios-grid {
      grid-template-columns: 1fr;
  }

  .feature-icon-wrapper {
      width: 80%;
      height: 80%;
  }
  
  .section-padding {
  padding-top: 40px;
  padding-right: 0;
  padding-left: 0;
  padding-bottom: 40px;
  }
  .section-title {
      font-size: 32px;
      margin-bottom: 40px;
  }
  .features-grid {
    padding-bottom: 50px;    
  }
  .con1 {
      height: 35px;
  }

}

/* 英文版調整 */
.lang-en .hero h1 {
    font-size: 42px;
}
.lang-en .hero-content {
  max-width: 800px;
  margin-top: -130px;
}
.lang-en .hero p {
  font-size: 16px;
  line-height: normal;
}

.lang-en .stat-text {
    font-size: 20px;
    letter-spacing: 1px;
}

.lang-en .award-title {
    font-size: 14px;
}

.lang-en .scenario-item h3 {
    font-size: 20px;
}

.lang-en .feature-item h3 {
    font-size: 22px;
}
.lang-en .section-title {
    font-size: 31px;
}

@media (max-width: 768px) {
  .lang-en .hero h1 {
    font-size: 30px;
    letter-spacing: 0px;
  }
  .lang-en .hero-content {
      margin-top: 0px;
  }
  
}







