@charset "UTF-8";
/*
--- 01 TYPOGRAPHY SYSTEM

- Font sizes (px)
10 / 12 / 14 / 16 / 18 / 20 / 24 / 30 / 36 / 44 / 52 / 62 / 74 / 86 / 98

- Font weights
Default: 400
Medium: 500
Semi-bold: 600
Bold: 700

- Line heights
Default: 1
Small: 1.05
Medium: 1.2
Paragraph default: 1.6

- Letter spacing
-0.5px
0.75px

--- 02 COLORS
- Primary: #1A5AD9
- Tints (淺色調):
#D5D4FF


- Shades (深色調): 
#08a679

- Accents (強調色): #0ACF97
- Greys (灰色調)

#888
#767676 (lightest grey allowed on #fff)
#6f6f6f (lightest grey allowed on #fdf2e9)
#555
#333

--- 05 SHADOWS

0 2.4rem 4.8rem rgba(0, 0, 0, 0.075);

--- 06 BORDER-RADIUS

Default: 3.2px
Medium: 15px

--- 07 WHITESPACE

- Spacing system (px)
2 / 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 80 / 96 / 128
*/
/* header-menu */
.header {
  background: #313a46;
  height: var(--headerHeight);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.25);
  z-index: 10;
}

main::before {
  content: "";
  display: block;
  height: var(--headerHeight);
}

.ap-logo {
  width: 16rem;
  display: inline-block;
}
.ap-logo .logo {
  height: auto;
  width: 100%;
  max-width: 100%;
}

.header-nav-items {
  flex: 1;
  margin-left: 4rem;
  list-style: none;
  gap: 4.8rem;
  width: auto;
  height: 100%;
}
.header-nav-items .nav-item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}
@media (max-width: 1080px) {
  .header-nav-items .nav-item {
    height: auto;
  }
}
.header-nav-items .nav-item::before {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  background-color: #f9fafc;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  transition: width 0.3s ease;
}
.header-nav-items .nav-item:hover::before {
  width: 100%;
}
.header-nav-items .nav-item .nav-item-link:link,
.header-nav-items .nav-item .nav-item-link:visited {
  height: 100%;
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #f9fafc;
  font-size: 1.6rem;
  font-weight: 400;
}
.header-btns {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 3.2rem;
}

.ap-lang {
  position: relative;
  top: 0;
  right: 0;
  margin-right: 2px;
  opacity: 1;
  visibility: visible;
}
.ap-lang__menu {
  display: none;
  position: absolute;
  top: calc(100% + 1.8rem);
  font-size: 1.6rem;
  color: #313a46;
  right: -1rem;
  width: 15rem;
  background-color: #f9fafc;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.0784313725);
  list-style: none;
}
.ap-lang__menu li {
  padding: 1rem;
  cursor: pointer;
}
.ap-lang__menu li:hover {
  background-color: rgb(198, 207.5, 226.5);
}
.ap-lang.open .ap-lang__menu {
  display: block;
  z-index: 3;
}

.ap-link {
  color: #f9fafc;
  text-decoration: none;
  font-size: 1.6rem;
  transition: color 0.3s ease;
}
.ap-link span {
  transition: color 0.3s ease;
}
.ap-link .icon-lang {
  width: 1.6rem;
  height: 1.6rem;
  stroke: #f9fafc;
  transition: stroke 0.3s ease;
}
.ap-link:hover, .ap-link:active {
  color: #888;
}
.ap-link:hover span, .ap-link:active span {
  color: #888;
}
.ap-link:hover .icon-lang, .ap-link:active .icon-lang {
  stroke: #888;
}

.ap-hamburger {
  display: none;
}
@media (max-width: 1080px) {
  .ap-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
  }
  .ap-hamburger .line {
    width: 20px;
    height: 2px;
    background-color: #f9fafc;
    display: block;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    border-radius: 10px;
  }
  .ap-hamburger.active .line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }
  .ap-hamburger.active .line:nth-child(2) {
    opacity: 0;
  }
  .ap-hamburger.active .line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}

.mobile-menu {
  position: fixed;
  top: var(--headerHeight);
  right: -100%;
  width: 100%;
  max-width: 460px;
  height: calc(50vh - var(--headerHeight));
  background: #fff;
  box-shadow: -2px 0 6px rgba(0, 0, 0, 0.15);
  transition: right 0.3s ease;
  z-index: 100;
  padding: 2rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
@media (max-width: 1079px) {
  .mobile-menu {
    height: calc(45vh - var(--headerHeight));
  }
}
.mobile-menu.active {
  right: 0;
}
.mobile-menu .ap-lang .ap-link {
  color: #313a46;
  width: 100%;
}
.mobile-menu .ap-lang .ap-link .icon-lang {
  stroke: #313a46;
}
.mobile-menu .ap-lang::after {
  display: none;
}
.mobile-menu .ap-lang__menu {
  top: 0;
}
.mobile-menu .header-nav-items {
  display: flex;
  flex-direction: column;
  align-items: start;
  margin-left: 0;
  gap: 1.6rem;
}
.mobile-menu .header-nav-items .nav-item .nav-item-link:link,
.mobile-menu .header-nav-items .nav-item .nav-item-link:visited {
  color: #313a46;
}
.mobile-menu .menu-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.mobile-menu .menu-footer #SignIn,
.mobile-menu .menu-footer #FreeTrial {
  display: block;
  flex: 1;
  text-align: center;
  padding: 0.75rem;
}
.mobile-menu .menu-footer #SignIn {
  border: 1px solid #313a46;
  color: #313a46;
  border-radius: 3.2px;
}

/* footer */
.footer {
  position: relative;
  background-color: #313a46;
  color: #f9fafc;
  font-size: 1.6rem;
}
.footer .ap-logo {
  width: 20rem;
}
.footer .ap-lang::after {
  display: none;
}
.footer__main-info {
  padding-top: 4.8rem;
  padding-bottom: 4.8rem;
}
@media (max-width: 1130px) {
  .footer__main-info {
    grid-template-columns: 1fr 1fr;
    row-gap: 1.6rem;
  }
}
@media (max-width: 480px) {
  .footer__main-info {
    grid-template-columns: 1fr;
    row-gap: 3.2rem;
  }
}
@media (max-width: 480px) {
  .footer__main-info .main-info-item:first-child {
    justify-self: center;
  }
}
@media (max-width: 1130px) {
  .footer__main-info .main-info-item:nth-child(2) {
    justify-self: end;
  }
}
@media (max-width: 480px) {
  .footer__main-info .main-info-item:nth-child(2) {
    justify-self: center;
  }
}
@media (max-width: 1130px) {
  .footer__main-info .main-info-item:last-child {
    grid-column: 1/-1;
    justify-content: space-between;
  }
}
.footer__other-info {
  padding-top: 3.2rem;
  padding-bottom: 3.2rem;
  font-weight: 200;
}
.footer__other-info p {
  font-size: 1.4rem;
}
.footer::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  top: 70%;
  left: 0;
  background-color: rgba(249, 250, 252, 0.5);
  position: absolute;
}
@media (max-width: 480px) {
  .footer::after {
    top: 80%;
  }
}

.contact {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.social-link:link, .social-link:visited {
  display: inline-block;
}
.social-link:not(:last-child) {
  margin-right: 0.6rem;
}
.social-link .social-link__icon {
  width: 4rem;
  height: 4rem;
}
.social-link .social-link__icon path {
  transition: all 0.3s ease-out;
}
.social-link .social-link__icon:hover path {
  fill: #1a5ad9;
}

.info--l {
  align-items: end;
}
@media (max-width: 1130px) {
  .info--l {
    align-items: start;
  }
}

.info--r {
  text-align: center;
}
.info--r img {
  width: 75%;
}

.ap-footer__terms {
  position: relative;
}
.ap-footer__terms::after {
  content: "";
  display: block;
  width: 1px;
  height: 1.8rem;
  background-color: #888;
  position: absolute;
  top: calc(50% + 1px);
  left: 50%;
  transform: translateY(-50%);
}

/* 浮動小工具 */
.widget {
  border-radius: 50%;
  box-shadow: 0 1rem 3rem rgba(43, 43, 43, 0.15);
}

.widget.fixed-bottom-right {
  position: fixed;
  bottom: 3rem;
  right: 3rem;
  width: 6.4rem;
  height: 6.4rem;
  z-index: 1000;
  transform: scale(1);
  transition: all 0.2s;
}
@media (max-width: 768px) {
  .widget.fixed-bottom-right {
    width: 5.6rem;
    height: 5.6rem;
  }
}
@media (hover: hover) {
  .widget.fixed-bottom-right:hover {
    transform: scale(1.05);
  }
}

.widget.fixed-bottom-right img {
  width: 100%;
  height: 100%;
}

/*# sourceMappingURL=header-footer.css.map */
