.top-nav {
  background: #ffffff;
  border-bottom: 1px solid #e8edf2;
  position: sticky;
  top: 0;
  z-index: 20;
}

.top-nav .container,
.site-footer .container {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
}

.top-nav .container {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.left-group {
  display: flex;
  align-items: center;
  gap: 40px;
  min-width: 0;
}

.logo {
  width: 115px;
  height: 30px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.logo-link {
  display: inline-flex;
  align-items: center;
}

.main-nav {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 34px;
  font-family: Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 48px;
  white-space: nowrap;
}

.main-nav a {
  text-decoration: none;
  color: #333333;
  line-height: 48px;
  display: inline-block;
}

.main-nav a.nav-active {
  color: #18a0c6;
  font-weight: 700;
}

.right-group {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

.auth-guest,
.auth-user {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.auth-user {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 600;
  line-height: 1;
  padding: 12px 20px;
  transition: filter .2s ease;
}

.btn:hover {
  filter: brightness(.95);
}

.btn-outline {
  height: 45px;
  background: #ffffff;
  border-radius: 23px;
  border: 1px solid #cbd5e1;
  font-family: Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #0f2742;
  line-height: 48px;
}

.btn-outline:hover {
  background: #18a0c6;
  border-color: #18a0c6;
  color: #ffffff;
}

.btn-dark {
  color: #fff;
  background: #000;
  border-color: #000;
  padding-inline: 22px;
}

.top-intro-btn {
  height: 31px;
  background: #ffffff;
  border-radius: 5px;
  border: 1px solid #cbd5e1;
  font-family: Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #0f2742;
  line-height: 48px;
}

.top-intro-btn:hover {
  background: #18a0c6;
  color: #ffffff;
  border-color: #18a0c6;
}

.top-login-link {
  text-decoration: none;
  font-family: Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #0f2742;
  line-height: 30px;
  padding: 0 4px;
}

.top-login-link:hover {
  color: #18a0c6;
}

.top-account-link,
.top-logout-link {
  text-decoration: none;
  font-family: Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #0f2742;
  line-height: 30px;
}

.top-account-link:hover,
.top-logout-link:hover {
  color: #18a0c6;
}

.top-signup-btn {
  font-family: Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #ffffff;
  line-height: 30px;
  width: 80px;
  height: 30px;
  border-radius: 5px;
  background: #050505;
  border-color: #050505;
  padding: 0;
}

.top-signup-btn:hover {
  background: #1a1a1a;
  border-color: #1a1a1a;
  color: #ffffff;
}

.arrow {
  margin-left: 8px;
  width: 12px;
  height: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 12px;
  font-size: 0;
  line-height: 0;
  flex-shrink: 0;
}

.btn-outline .arrow {
  background-image: url("image/ic_arrow_forward@2x(1).png");
}

.btn-outline:hover .arrow {
  background-image: url("image/ic_arrow_forward@2x.png");
}

.mobile-menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid #d7e0ea;
  background: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.mobile-menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background: #1e293b;
  border-radius: 2px;
  transition: all .2s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-footer {
  background: #0F2742;
  border-top: 1px solid rgba(148, 163, 184, 0.28);
  padding-top: 44px;
}

.site-footer-main {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  padding: 44px 0 24px;
}

.footer-brand {
  max-width: 390px;
}

.footer-logo {
  width: 228px;
  height: auto;
  margin-bottom: 26px;
  filter: none;
}

.footer-brand p {
  font-family: Arial, sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: #ffffff;
  line-height: 42px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  text-decoration: none;
  font-family: Arial, sans-serif;
  font-size: 16px;
  color: #ffffff;
  line-height: 34px;
}

.footer-links .cta-link {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-links .cta-link::after {
  content: "";
  width: 13px;
  height: 14px;
  background: url("image/ic_arrow_forward@2x.png") center / 13px 14px no-repeat;
  display: inline-block;
}

.footer-contact p {
  font-family: Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #a8b6c8;
  line-height: 42px;
}

.site-footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.28);
  text-align: center;
  padding: 12px 0;
  font-family: Arial, sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #64748b;
  line-height: 30px;
}

.site-footer-bottom a {
  color: inherit;
  text-decoration: none;
}

@media (max-width: 1060px) {
  .mobile-menu-btn {
    display: inline-flex;
  }

  .main-nav,
  .right-group {
    display: none;
  }

  .main-nav.active,
  .right-group.active {
    display: flex;
  }

  .top-nav .container {
    flex-wrap: wrap;
    padding: 14px 0;
  }

  .left-group {
    width: 100%;
    justify-content: space-between;
    gap: 16px;
  }

  .main-nav.active {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 0 4px;
  }

  .main-nav.active a {
    line-height: 36px;
  }

  .right-group.active {
    width: 100%;
    flex-wrap: wrap;
    gap: 10px;
    padding: 6px 0 2px;
  }
}

@media (max-width: 900px) {
  .site-footer-main {
    flex-direction: column;
    gap: 22px;
  }
}

/* Keep header/footer style unified across all pages (even if page-level css exists). */
body .top-nav {
  background: #ffffff;
  border-bottom: 1px solid #e8edf2;
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 0;
}

body .top-nav .container,
body .site-footer .container {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
}

body .top-nav .container {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

body .top-nav .left-group {
  display: flex;
  align-items: center;
  gap: 40px;
  min-width: 0;
}

body .top-nav .logo {
  width: 115px;
  height: 30px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

body .top-nav .main-nav {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 34px;
  font-family: Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 48px;
  white-space: nowrap;
}

body .top-nav .main-nav a {
  text-decoration: none;
  color: #333333;
  line-height: 48px;
  display: inline-block;
}

body .top-nav .main-nav a.nav-active {
  color: #18a0c6;
  font-weight: 700;
}

body .top-nav .right-group {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  font-size: 16px;
}

body .top-nav .auth-guest,
body .top-nav .auth-user {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

body .top-nav .auth-user {
  display: none;
}

body .top-nav .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 600;
  line-height: 1;
  padding: 12px 20px;
  transition: filter .2s ease;
}

body .top-nav .btn:hover {
  filter: brightness(.95);
}

body .top-nav .btn-outline {
  height: 45px;
  background: #ffffff;
  border-radius: 23px;
  border: 1px solid #cbd5e1;
  font-family: Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #0f2742;
  line-height: 48px;
}

body .top-nav .btn-outline:hover {
  background: #18a0c6;
  border-color: #18a0c6;
  color: #ffffff;
}

body .top-nav .top-intro-btn {
  height: 31px;
  background: #ffffff;
  border-radius: 5px;
  border: 1px solid #cbd5e1;
  font-family: Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #0f2742;
  line-height: 48px;
}

body .top-nav .top-intro-btn:hover {
  background: #18a0c6;
  color: #ffffff;
  border-color: #18a0c6;
}

body .top-nav .top-login-link {
  text-decoration: none;
  font-family: Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #0f2742;
  line-height: 30px;
  padding: 0 4px;
}

body .top-nav .top-login-link:hover {
  color: #18a0c6;
}

body .top-nav .top-account-link,
body .top-nav .top-logout-link {
  text-decoration: none;
  font-family: Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #0f2742;
  line-height: 30px;
}

body .top-nav .top-account-link:hover,
body .top-nav .top-logout-link:hover {
  color: #18a0c6;
}

body .top-nav .top-signup-btn {
  font-family: Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #ffffff;
  line-height: 30px;
  width: 80px;
  height: 30px;
  border-radius: 5px;
  background: #050505;
  border-color: #050505;
  padding: 0;
}

body .top-nav .top-signup-btn:hover {
  background: #1a1a1a;
  border-color: #1a1a1a;
  color: #ffffff;
}

body .top-nav .arrow {
  margin-left: 8px;
  width: 12px;
  height: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 12px;
  font-size: 0;
  line-height: 0;
  flex-shrink: 0;
}

body .top-nav .btn-outline .arrow {
  background-image: url("image/ic_arrow_forward@2x(1).png");
}

body .top-nav .btn-outline:hover .arrow {
  background-image: url("image/ic_arrow_forward@2x.png");
}

body .top-nav .mobile-menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid #d7e0ea;
  background: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0;
}

body .top-nav .mobile-menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background: #1e293b;
  border-radius: 2px;
  transition: all .2s ease;
}

body .top-nav .mobile-menu-btn.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body .top-nav .mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

body .top-nav .mobile-menu-btn.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

body .site-footer {
  background: #0F2742;
  border-top: 1px solid rgba(148, 163, 184, 0.28);
  padding-top: 44px;
}

body .site-footer .site-footer-main {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  padding: 44px 0 24px;
}

body .site-footer .footer-brand {
  max-width: 390px;
}

body .site-footer .footer-logo {
  width: 228px;
  height: auto;
  margin-bottom: 26px;
  filter: none !important;
}

body .site-footer .footer-brand p,
body .site-footer .footer-contact p {
  font-family: Arial, sans-serif;
  font-size: 16px;
  color: #a8b6c8;
  line-height: 42px;
}

body .site-footer .footer-brand p {
  font-weight: 400;
  font-size: 18px;
  color: #ffffff;
}

body .site-footer .footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

body .site-footer .footer-links a {
  text-decoration: none;
  font-family: Arial, sans-serif;
  font-size: 16px;
  color: #ffffff;
  line-height: 34px;
}

body .site-footer .footer-links .cta-link {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

body .site-footer .footer-links .cta-link::after {
  content: "";
  width: 13px;
  height: 14px;
  background: url("image/ic_arrow_forward@2x.png") center / 13px 14px no-repeat;
  display: inline-block;
}

body .site-footer .site-footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.28);
  text-align: center;
  padding: 12px 0;
  font-family: Arial, sans-serif;
  font-size: 14px;
  color: #64748b;
  line-height: 30px;
}

body .site-footer .site-footer-bottom a {
  color: inherit;
  text-decoration: none;
}

@media (max-width: 1060px) {
  body .top-nav .mobile-menu-btn {
    display: inline-flex;
  }

  body .top-nav .main-nav,
  body .top-nav .right-group {
    display: none;
  }

  body .top-nav .main-nav.active,
  body .top-nav .right-group.active {
    display: flex;
  }

  body .top-nav .container {
    flex-wrap: wrap;
    padding: 14px 0;
  }

  body .top-nav .left-group {
    width: 100%;
    justify-content: space-between;
    gap: 16px;
  }

  body .top-nav .main-nav.active {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 0 4px;
  }

  body .top-nav .main-nav.active a {
    line-height: 36px;
  }

  body .top-nav .right-group.active {
    width: 100%;
    flex-wrap: wrap;
    gap: 10px;
    padding: 6px 0 2px;
  }
}

@media (max-width: 900px) {
  body .site-footer .site-footer-main {
    flex-direction: column;
    gap: 22px;
  }
}
