/**
 * 首頁樣式 (index.php)
 *
 * 此檔案包含首頁的所有特定樣式
 * 引入順序：依賴於 component.css
 *
 * 內容：
 * - 網站架設流程區塊樣式
 * - 特色卡片樣式
 * - 特色描述文字
 * - CTA 按鈕區域
 *
 * @package 起吉科技
 */

/* 首頁首圖 */
.hero-image {
  width: 100%;
}
/* KOL */
.home-kol-section {
  padding: 0 0 180px;
}

.home-title-container {
  display: flex;
  flex-direction: column;
  position: relative;
  width: 300px;
  height: 70px;
  padding: 24px 98px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border: 1px solid #fff;
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 25.8px 2px #93c9f7;
  backdrop-filter: blur(8px);
  margin-bottom: 58px;
}

.home-title {
  color: #fff;
  text-align: center;
  text-shadow: 3px 4px 0.5px rgba(0, 0, 0, 0.25);
  font-family: Inter;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  white-space: nowrap;
}

.home-blue-img {
  position: absolute;
  max-width: 50px;
  top: -40px;
  left: -65px;
}

.home-yellow-img {
  position: absolute;
  max-width: 58px;
  bottom: -58px;
  right: -63px;
}

.home-kol-section .page-cta-wrapper {
  margin-top: 46px;
}

.kol-items {
  display: flex;
  flex-direction: row;
  margin-top: 41px;
  margin-bottom: 20px;
  gap: 35px;
  justify-items: center;
}

.kol-item {
  display: flex;
  flex-direction: column;
  width: 335px;
  height: 180px;
  padding: 64px 70px;
  gap: 2.25rem;
  border-radius: 2.125rem;
  border: 1px solid #fff;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 23.1px -2px rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(2px);
  justify-content: center;
  align-items: center;
}

.kol-title {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
}

.kol-text {
  white-space: nowrap;
  text-align: center;
}

/* 專欄寫手 */
.columnist-section {
  position: relative;
  padding-bottom: 210px;
}

.home-bg-img {
  position: absolute;
  top: -72.6rem;
  z-index: -1;
  width: 100%;
  display: block;
}

.home-bg-img-rwd {
  position: absolute;
  top: -72rem;
  z-index: -1;
  width: 100%;
  display: none;
}

.columnist-yellow-title {
  color: #ffcc00;
  font-size: 2rem;
  margin-top: 80px;
}

.columnist-items {
  display: flex;
  margin-top: 50px;
  margin-bottom: 70px;
  gap: 45px;
}

.columnist-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 27px;
}

.columnist-title {
  display: flex;
  width: 190px;
  height: 190px;
  flex-shrink: 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 50%;
  border: 1px solid #fff;
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 36.9px 2px #20285e;
  backdrop-filter: blur(8px);
  white-space: nowrap;
}

.columnist-text {
  text-align: center;
  line-height: 44px;
  width: 100%;
  max-width: 255px;
}

/* 社群專欄 */
.social-media-section {
  padding-bottom: 210px;
}

.social-media-section-rwd {
  position: absolute;
  top: -72rem;
  z-index: -1;
  width: 100%;
  display: none;
}

.social-items {
  display: flex;
  flex-direction: column;
  margin: 50px auto;
  gap: 35px;
}

.social-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  max-width: 900px;
  width: 100%;
  height: 115px;
  padding: 24px 25px 24px 80px;
  gap: 35px;
  border-radius: 40px;
  border: 1px solid #fff;
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 36.9px 2px #20285e;
  backdrop-filter: blur(8px);
}

.social-title {
  color: #20285e;
  display: flex;
  width: 258px;
  height: 55px;
  padding: 5px 45px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 27.5px;
  background: #fff;
  white-space: nowrap;
}

/* 媒體公關 */

.relations-section {
  position: relative;
  padding-bottom: 210px;
}

.relations-img {
  position: absolute;
  top: -297px;
  right: 0;
}

.relations-items {
  display: flex;
  flex-direction: row;
  gap: 60px;
  margin-top: 48px;
  margin-bottom: 70px;
}

.relations-yellow-item {
  display: flex;
  flex-direction: column;
  gap: 26px;
  width: 265px;
  height: 220px;
  padding: 32px 21px;
  border-radius: 23px;
  background: var(--Accents-Yellow, #fc0);
  align-items: center;
}

.yellow-media-text {
  color: #20285e;
  font-weight: 400;
}

.relations-blue-item {
  display: flex;
  flex-direction: column;
  gap: 26px;
  width: 265px;
  height: 220px;
  padding: 32px 21px;
  border-radius: 23px;
  background: var(--main-001, #20285e);
  align-items: center;
}

.relations-title {
  color: #000;
  width: 100%;
  display: flex;
  height: 60px;
  padding: 8px 0;
  text-align: center;
  justify-content: center;
  align-items: center;
  border-radius: 30px;
  background: #fff;
}

.relations-text {
  text-align: center;
  max-width: 210px;
}

.relations-yellow-title {
  color: #ffcc00;
  margin-bottom: 40px;
}

.relations-dec-items {
  display: flex;
  flex-direction: row;
  gap: 45px;
  margin-bottom: 90px;
}

.dec-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.dec-item:nth-child(2) {
  border-left: 1px solid #fff;
  border-right: 1px solid #ffff;
  padding: 0 45px;
}

.relations-dec-img {
  height: 35px;
  width: auto;
}

/* GEO搜尋 */
.geo-search-section {
  position: relative;
  padding-bottom: 210px;
}

.magnifying-glass-img {
  position: absolute;
  right: 0;
  top: 100px;
  width: 28%;
  z-index: -1;
}

.magnifying-glass-img-rwd {
  position: absolute;
  right: 0;
  top: 100px;
  z-index: -1;
  display: none;
}

.relations-bottom-img {
  position: absolute;
  top: -382px;
  width: 100%;
}

.geo-search-img {
  position: absolute;
  top: 600px;
  z-index: -2;
  width: 100%;
}

.geo-search-items {
  max-width: 677px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 60px;
  margin-bottom: 60px;
}

.geo-search-item {
  display: flex;
  flex-direction: row;
  position: relative;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 677px;
  height: 100px;
  border-radius: 57px;
  border: 1px solid #fff;
  box-shadow: 0 0 16.3px 2px #fff;
}

.yellow-number-img {
  height: 85%;
  position: absolute;
  left: -17px;
  z-index: 1;
  filter: drop-shadow(0 0 9.6px rgba(255, 255, 255, 1));
}

.geo-search-container {
  width: 100%;
  max-width: 630px;
}

.geo-search-title {
  display: flex;
  width: 100%;
  height: 70px;
  padding: 24px 98px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 40px;
  border: 1px solid #fff;
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 36.9px 2px #20285e;
  backdrop-filter: blur(8px);
}

.white-arrow-img {
  height: auto;
  width: 7%;
  z-index: 1;
}

.geo-search-h2 {
  font-weight: 600;
}

.geo-search-dec-items {
  display: flex;
  flex-direction: row;
  margin-top: 45px;
  gap: 50px;
  margin-bottom: 65px;
  width: 100%;
  justify-content: center;
}

.geo-search-dec-item {
  display: flex;
  max-width: 400px;
  width: 100%;
  height: 120px;
  padding: 24px 96px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 40px;
  border: 2px solid #fff;
  background: rgba(255, 255, 255, 0.2);
  box-shadow:
    0 4px 11.3px 0 rgba(255, 255, 255, 0),
    0 4px 36.9px 2px #20285e;
  -webkit-backdrop-filter: blur(8px);
}

.geo-dec-title {
  position: relative;
  color: #20285e;
  display: flex;
  align-items: center;
  gap: 22px;
}

.geo-dec-title::before {
  content: "";
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: #ffcc00;
  flex-shrink: 0;
}

.geo-dec-text {
  white-space: nowrap;
}

/* AIO行銷 */
.aio-marketing-section {
  position: relative;
  padding-bottom: 210px;
}

.aio-bg-img {
  position: absolute;
  top: -52rem;
  width: 100%;
  z-index: -1;
}

.aio-bg-img-rwd {
  position: absolute;
  top: -52rem;
  z-index: -1;
  display: none;
}

.aio-geometric-img {
  position: absolute;
  top: -52rem;
  z-index: -1;
  width: 100%;
  display: none;
}

.aio-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1052px;
  width: 100%;
  margin-top: 48px;
  padding: 42px 88px 54px;
  height: auto;
  border: 2px solid #fff;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.3) 0%,
    rgba(56, 90, 165, 0.3) 100%
  );
  box-shadow:
    0 4px 21.3px -3px #fff,
    0 4px 4px 0 rgba(0, 0, 0, 0.25);
}

.red-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 30px;
  width: 100%;
}

.red-item {
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: center;
}

.red-number-img {
  width: 30px;
  height: 30px;
}

.blue-title {
  display: flex;
  width: 180px;
  height: 38px;
  padding: 3px 34px;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  border-radius: 25px;
  background: var(--main-001, #20285e);
}

.red-item-text {
}

.item-order {
  display: flex;
  gap: 0 33px;
  margin-top: 50px;
  margin-bottom: 48px;
  max-width: 927px;
  width: 115%;
  flex-wrap: wrap;
  justify-content: center;
}

.item-details {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 207px;
  height: 207px;
  position: relative;
  border: 1px solid #fff;
  border-radius: 50%;
  filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.25));
}

.dark-blue {
  display: flex;
  width: 160px;
  height: 160px;
  padding: 58px 15px;
  text-align: center;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 80px;
  background: var(--main-001, #20285e);
}

.light-blue {
  display: flex;
  width: 160px;
  height: 160px;
  padding: 58px 15px;
  text-align: center;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 80px;
  background: var(--0003, linear-gradient(90deg, #3564ff 0%, #20285e 100%));
}

.right-arrow-img {
  position: absolute;
  right: -47px;
}

.yellow-ball-img {
  position: absolute;
  left: 13px;
  top: 13px;
}

/* 全方位行銷 */
.integrated-marketing-section {
  padding-bottom: 100px;
  position: relative;
}

.integrated-marketing-rwd {
  position: absolute;
  top: 0;
  z-index: -1;
  width: 100%;
  display: none;
}

.integrated-marketing-section .section-dec {
  color: #20285e;
  font-weight: 400;
}

.integrated-items {
  display: flex;
  flex-direction: row;
  width: 120%;
  max-width: 1632px;
  margin-bottom: 72.5px;
  margin-top: 24px;
  justify-content: center;
  gap: 50px;
}

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

.yellow-ball {
  display: flex;
  flex-direction: column;
  width: 310px;
  height: 310px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #fac802;
  box-shadow: 0 0px 20px 0 #fff;
  align-items: center;
  padding-top: 85px;
}

.blue-ball {
  display: flex;
  flex-direction: column;
  width: 310px;
  height: 310px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #20285e;
  box-shadow: 0 0px 20px 0 #fff;
  align-items: center;
  padding-top: 85px;
}

.integrated-number {
  display: flex;
  color: #fff;
  text-align: center;
  font-size: 36px;
  font-style: normal;
  font-weight: 600;
  line-height: 44px;
  /* 122.222% */
}

.dec-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 72px 0 28px;
  gap: 10px;
  background-image: url("../../images/全方位內容背景.webp");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  height: 100%;
  max-height: 280px;
  width: 100%;
  max-width: 280px;
  margin-top: -135px;
  fill: #fff;
  filter: drop-shadow(0 6px 15.9px #20285e);
}

.dec-blue-title {
  color: var(--main-001, #20285e);
  text-align: center;
  font-style: normal;
  font-weight: 500;
  /* 137.5% */
}

.dec-separator {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin: 0;
}

.dec-separator img {
  width: 10px;
  height: 10px;
  object-fit: contain;
}

.dec-text {
  max-width: 212px;
  color: #000;
  text-align: center;
  font-style: normal;
  font-weight: 400;
  /* 183.333% */
}

.tool-layer-text {
  max-width: 212px;
}
@media (max-width: 1660px) {
  .kol-item {
    width: 100%;
    max-width: 332px;
  }
}
/* 1440px */
@media (max-width: 1440px) {
  /* KOL */

  .home-kol-section {
    padding: 40px 0 297px;
  }

  .kol-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  /* 專欄寫手 */
  .home-bg-img {
    top: -32.6rem;
  }

  /* 媒體公關 */
  .relations-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .geo-search-dec-items {
    flex-wrap: wrap;
  }

  /* AIO */
  .aio-bg-img {
    top: -15rem;
  }

  /* 全方位行銷 */
  .integrated-marketing-section {
    padding-bottom: 116px;
  }

  .integrated-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    max-width: 850px;
  }
}

@media (max-width: 1024px) {
  .columnist-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .home-bg-img {
    top: -27.6rem;
  }
}

@media (max-width: 480px) {
  body {
    padding-top: 40px;
    background-size: 100% 130%;
  }

  .home-bg-img {
    display: none;
  }

  .home-bg-img-rwd {
    display: block !important;
    top: -49rem;
  }

  /* 首頁標題 */
  .home-title-container {
    width: 101.353px;
    height: 26.689px;
    padding: 4.682px 0;
    border: 0.195px solid #fff;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0.78px 5.033px 0.39px #93c9f7;
    -webkit-backdrop-filter: blur(1.5607222318649292px);
    margin-bottom: 15px;
  }

  .home-title {
    text-shadow: 0.585px 0.78px 0.098px rgba(0, 0, 0, 0.25);
  }

  .home-blue-img {
    width: 14px;
    height: 14px;
    top: -11px;
    left: -19px;
  }

  .home-yellow-img {
    width: 16px;
    height: 16px;
    bottom: -16px;
    right: -17px;
  }

  /* KOL */
  .home-kol-section {
    padding: 0 0 103px;
  }

  .kol-items {
    grid-template-columns: repeat(1, 1fr);
    margin-top: 20px;
    margin-bottom: 0;
    gap: 20px;
  }

  .kol-item {
    max-width: 186px;
    height: 78px;
    padding: 0;
    border-radius: 13px;
    gap: 11px;
    border-radius: 12.991px;
    border: 0.382px solid #fff;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 8.826px -0.764px rgba(255, 255, 255, 0.6);
    -webkit-backdrop-filter: blur(0.7641564011573792px);
  }

  .kol-text {
    max-width: 104px;
    white-space: wrap;
    line-height: 16.811px;
  }

  /* 專欄寫手 */
  .columnist-section {
    padding: 0 0 0;
  }

  .columnist-yellow-title {
    margin-top: 35px;
  }

  .columnist-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin-top: 18px;
    margin-bottom: 0;
    gap: 32px;
  }

  .columnist-item {
    gap: 14.1px;
  }

  .columnist-title {
    font-size: 0.875rem !important;
    width: 95px;
    height: 95px;
    padding: 0;
  }

  .columnist-text {
    line-height: 16.771px;
    font-size: 12px !important;
    max-width: 98px;
  }

  /* 社群專欄 */

  .social-media-section-rwd {
    position: absolute;
    right: 0;
    top: -42px;
    display: block;
    width: auto;
    z-index: -1;
  }

  .relations-img {
    top: -70px;
    right: 0;
    width: 90%;
    height: auto;
    z-index: -1;
  }

  .social-media-section {
    padding: 102px 0;
    position: relative;
  }

  .social-items {
    margin: 20px 0;
    gap: 20px;
  }

  .social-item {
    max-width: 295px;
    height: 97px;
    padding: 12px 10px;
    gap: 13px;
    border-radius: 10px;
  }

  .social-title {
    max-width: 101px;
    height: 23px;
    padding: 2px 12px;
    font-size: 0.875rem !important;
  }

  .social-text {
    max-width: 160px;
    line-height: 18px;
  }

  /* 媒體公關 */

  .relations-bottom-img {
    display: none;
  }

  .relations-section {
    padding-bottom: 103px;
  }

  .relations-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 34px 16px;
    margin-top: 20px;
    margin-bottom: 34px;
  }

  .relations-items > div:nth-child(1) {
    order: 1;
  }

  .relations-items > div:nth-child(2) {
    order: 3;
  }

  .relations-items > div:nth-child(3) {
    order: 4;
  }

  .relations-items > div:nth-child(4) {
    order: 2;
  }

  .relations-yellow-item,
  .relations-blue-item {
    max-width: 146px;
    width: 146px;
    height: 125px;
    padding: 15px 0 24.79px;
    gap: 12.65px;
    align-items: center;
  }

  .relations-title {
    width: 121px;
    height: 29px;
  }

  .relations-text {
    width: 135px;
    line-height: 21.41px;
  }

  .relations-yellow-title {
    margin-bottom: 20px;
  }

  .relations-dec-items {
    flex-direction: column;
    gap: 26px;
    margin-bottom: 0;
  }

  .relations-dec-item {
    gap: 10px;
  }

  .dec-item:nth-child(2) {
    border-left: none;
    border-right: none;
  }

  .relations-dec-img {
    height: 24px;
    width: 26px;
  }

  /* GEO搜尋 */

  .magnifying-glass-img {
    display: none;
  }

  .magnifying-glass-img-rwd {
    display: block;
    top: -123px;
  }

  .geo-search-section {
    padding: 0;
  }

  .geo-search-items {
    margin-top: 20px;
    margin-bottom: 35px;
  }

  .geo-search-item {
    border-radius: 21.354px;
    max-width: 253px;
    height: 49px;
    padding: 0;
    box-shadow: 0 0 6.107px 0.749px #fff;
  }

  .geo-search-container {
    justify-items: center;
  }

  .geo-search-title {
    border-radius: 14.986px;
    max-width: 240px;
    height: 34px;
    padding: 0;
  }

  .yellow-number-img {
    height: 38px;
    max-width: 25px;
    left: -7px;
    filter: drop-shadow(0 0 6.107px rgba(255, 255, 255, 1));
  }

  .white-arrow-img {
    width: 18px;
    height: 23px;
  }

  .geo-search-dec-items {
    flex-direction: column;
    gap: 20px;
    margin-top: 27px;
    margin-bottom: 0;
    align-items: center;
  }

  .geo-search-img {
    display: none;
  }

  .geo-search-dec-item {
    padding: 0;
    width: 220px;
    height: 69px;
    border: 1px solid #fff;
    border-radius: 18.385px;
    gap: 8px;
    padding: 8.9px 10px 13.5px;
    box-shadow:
      0 1.838px 5.194px 0 rgba(255, 255, 255, 0),
      0 1.838px 12.96px 0.919px #20285e;
    justify-content: normal;
  }

  .geo-dec-title {
    font-size: 0.875rem;
    gap: 10px;
  }

  .geo-dec-title::before {
    width: 10px;
    height: 10px;
  }

  .geo-dec-text {
    font-size: 13px !important;
  }

  /* AIO */
  .aio-bg-img {
    display: none;
  }

  .aio-bg-img-rwd {
    display: block;
    top: -26rem;
    left: 0;
  }

  .aio-marketing-section {
    padding: 100px 0 0;
  }

  .aio-geometric-img {
    top: 30px;
    width: 330px;
  }

  .aio-container {
    margin-top: 20px;
    height: auto;
    padding: 8px 31px 28px;
  }

  .red-items {
    margin-top: 27px;
    gap: 15px;
  }

  .red-item {
    flex-direction: column;
    gap: 6px;
  }

  .red-number-img {
    width: 20px;
    height: 20px;
  }

  .item-order {
    margin-top: 27px;
    margin-bottom: 0;
    gap: 28px;
    flex-direction: column;
    align-items: center;
  }

  .blue-title {
    width: 84px;
    height: 20px;
    padding: 1px 10px;
  }

  .red-item-text {
    white-space: nowrap;
  }

  .item-details {
    width: 120px;
    height: 120px;
  }

  .item-details::after {
    position: absolute;
    content: "";
    display: block;
    width: 34px;
    height: 42px;
    background-image: url("../../images/向下白箭頭.webp");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-top: 10px;
    bottom: -34px;
  }

  .item-details:last-child::after {
    display: none;
  }

  .dark-blue,
  .light-blue {
    width: 92px;
    height: 92px;
    padding: 0;
  }

  .yellow-ball-img {
    width: 16.232px;
    height: 16.232px;
    left: 8.7px;
    top: 7.54px;
  }

  .right-arrow-img {
    display: none;
  }

  /* 全方位行銷 */
  .integrated-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28.19px 24px;
    width: 100%;
    margin-bottom: 0;
  }

  .dec-container {
    margin-top: -65px;
    filter: drop-shadow(0 1.511px 2.94px #20285e);
    padding: 27px 0 25.73px;
    max-height: 128.9px;
    max-width: 125.42px;
    gap: 8.69px;
  }

  .dec-blue-title {
    gap: 8.69px;
  }

  .dec-blue-title::after {
    width: 82.36px;
    height: 3.78px;
  }

  .integrated-number {
  }

  .yellow-ball,
  .blue-ball {
    padding: 20px 0 100px;
    width: 136px;
    height: 136px;
    filter: drop-shadow(0 1.511px 1.511px #fff);
  }

  .dec-text {
    max-width: 86.356px;
    font-size: 10.57px !important;
  }

  .dec-separator {
    gap: 6.04px;
    margin: 0;
  }

  .dec-separator img {
    width: 3.78px;
    height: 3.78px;
  }

  .tool-layer-text {
    max-width: 104px;
    font-size: 9.067px !important;
  }

  .integrated-marketing-section {
    padding-top: 69.56px;
    padding-bottom: 91px;
  }

  .integrated-marketing-rwd {
    display: block;
    top: -83px;
    z-index: 0;
  }
}
