@font-face {
  font-family: '寒蝉全圆体';
  font-weight: normal;
  src: url('寒蝉全圆体.ttf') format('truetype');
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

body {
  font-family: '寒蝉全圆体';
  font-weight: normal;
  position: relative;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  width: 100%;
  height: 100%;
  /*background: linear-gradient(45deg, rgba(255, 0, 128), rgba(0, 255, 128));
  background-size: 162% 162%;
  animation: breathe-gradient 6s ease-in-out infinite;*/
  z-index: -1;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

/*
@keyframes breathe-gradient {

  0%,
  100% {
    background-position: 0% 50%;
  }

  25% {
    background-position: 50% 25%;
  }

  50% {
    background-position: 100% 50%;
  }

  75% {
    background-position: 50% 75%;
  }
}
*/
img {
  user-select: none;
  pointer-events: none;
}

.text-container {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: calc(6.2vh + 6.2vh);
}

h1 {
  font-size: 3.236rem;
  font-weight: normal;
  max-width: 100%;
  color: rgb(0, 0, 0);
  margin-bottom: 2rem;
}

h2 {
  font-size: 1.618rem;
  font-weight: bold;
  max-width: 100%;
  color: rgb(0, 0, 0);
  margin-bottom: 1rem;
}

p,
a {
  font-size: 1.382rem;
  color: rgb(0, 0, 0);
  max-width: 100%;
  text-decoration: none;
  line-height: 1.382;
  font-weight: normal;
}

.p1 {
  font-size: 1.382rem;
  color: rgb(0, 0, 0);
  /*animation: breathe-text-color 6s ease-in-out infinite;*/
  max-width: 100%;
  line-height: 1.382;
  font-weight: normal;
}

/*
@keyframes breathe-text-color {

  0%,
  100% {
    color: rgba(0, 0, 0, 0.62);
  }

  25% {
    color: rgba(128, 128, 128);
  }

  50% {
    color: rgba(255, 255, 255, 0.62);
  }

  75% {
    color: rgba(128, 128, 128);
  }
}
*/

.navbar {
  width: 100%;
  height: 6.2vh;
  background: rgb(255, 255, 255);
  position: fixed;
  top: 0;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  z-index: 1000;
}

.navbar ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
  width: auto;
  justify-content: space-between;
  align-items: center;
}

.navbar li {
  position: relative;
  margin: 0;
  padding: 0;
  margin-left: 6.2vw;
}

.navbar a {
  display: flex;
  text-decoration: none;
  color: rgb(0, 0, 0);
  transition: color 0.3s ease;
  line-height: 6.2vh;
  height: 100%;
  max-width: 100%;
  padding: 0;
  align-items: center;
  justify-content: center;
}

.navbar .dropdown {
  display: none;
  position: absolute;
  background: rgb(255, 255, 255);
  white-space: nowrap;
  z-index: 9999;
  width: auto;
  margin-top: 0;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.382);
}

.navbar .dropdown a {
  text-align: left;
  display: block;
  font-size: 1rem;
  padding: 1rem;
  max-width: 100%;
  position: relative;
  width: auto;
}

.navbar li.active .dropdown {
  display: block;
}

.navbar a.active {
  color: #00ff80;
}

.navbar .dropdown a:hover,
.navbar a:hover {
  color: #ff0080;
}

.navbar .dropdown a.active {
  color: #00ff80;
}

.language-switch {
  font-family: '寒蝉全圆体';
  height: calc(6.2vh * 0.8);
  aspect-ratio: 16 / 9;
  position: fixed;
  font-size: 1rem;
  border-radius: 2rem;
  background-color: rgb(255, 255, 255);
  right: 3.1vw;
  cursor: pointer;
  border: 2px solid black;
}

.language-switch:hover {
  background-color: #ff0080;
}

.content {
  flex: 1;
  /* 使内容区域自适应剩余空间 */
}

.logo {
  display: flex;
  align-items: center;
  margin-left: 0;
}

.logo-container {
  height: calc(6.2vh * 0.8);
  display: flex;
  background-size: contain;
  background-repeat: no-repeat;
}



footer {
  font-family: '寒蝉全圆体';
  position: absolute;
  height: 10vh;
  width: 100%;
  bottom: 0;
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
}

.footer-left {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 2rem;
}

.footer-right {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 2rem;
}

.linkedin-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0);
  pointer-events: all;
  z-index: 10;
}

.image-container {
  position: relative;
  display: inline-block;
}

.product-image {
  display: block;
  margin: auto;
  max-width: 61.8%;
  height: auto;
  position: relative;
  z-index: 1;
}

.button {
  text-align: center;
  top: 0;
  margin-bottom: 13.2vh;
}

.oval-button {
  font-family: '寒蝉全圆体';
  display: inline-block;
  text-align: center;
  padding: 1rem 2rem;
  border-radius: 4vh;
  font-size: 1rem;
  text-decoration: none;
  color: rgb(0, 0, 0);
  background-color: rgba(128, 128, 128, 0.1);
  transition: background 0.3s, color 0.3s;
}

.oval-button:hover {
  background-color: #00ff80;
  color: rgb(255, 255, 255);
}

.buy-container {
  display: flex;
  flex-direction: row;
  margin-top: 6.2vh;
  height: 93.8vh;
}

.left {
  width: 62%;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-images {
  position: absolute;
  width: 95%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  object-fit: contain;
}

.carousel-image {
  width: 100%;
  object-fit: contain;
  display: none;
  border-radius: 2rem;
}

.carousel-image.active {
  display: block;
}

.prev,
.next {
  position: absolute;
  background-color: rgb(0, 0, 0);
  color: rgba(255, 255, 255, 0.5);
  font-size: 2rem;
  width: 3rem;
  height: 3rem;
  border-radius: 3rem;
  border: none;
  cursor: pointer;
  z-index: 1;
  align-items: center;
}

.prev {
  left: 2.5%;
}

.next {
  right: 2.5%;
}

.prev:hover,
.next:hover {
  color: rgba(255, 255, 255);
}


.right {
  width: 38%;
  overflow-y: auto;
  position: relative;
}

.right h1 {
  font-size: 2.76rem;
  text-align: center;
  max-width: 100%;
  margin-top: calc((93.8vh - (62vw * 0.95 * 9 / 16)) / 2);
}

.three-overview {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  text-align: center;
  max-width: 100%;
  gap: 2rem;
}

.vertical-item {
  display: flex;
  flex-direction: column;
  padding: 1rem;
  margin: 0;
}

.value {
  font-size: 1.382rem;
  font-weight: bold;
  color: rgb(255, 255, 255);
}

.label {
  margin-top: 0.5rem;
  font-size: 1rem;
  color: rgb(0, 0, 0);
}

.visitors {
  margin-top: 2rem;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
}

form {
  display: flex;
  flex-direction: column;
  width: 62%;
}

.form-group {
  position: relative;
  margin-bottom: 1rem;
}

.form-group label {
  font-size: 1rem;
  padding: 0.5rem;
}

input {
  padding: 0.5rem;
  width: 100%;
  height: 2rem;
  margin-top: 0.5rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 1rem;
}

input:focus {
  outline: none;
  border-color: #00ff80;
}

.buy-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(2rem);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.popup {
  height: 80%;
  aspect-ratio: 1.618 / 1;
  text-align: center;
  animation: fadeIn 0.3s ease-in-out;
  align-items: center;
  /* 垂直居中 */
  justify-content: center;
  /* 水平居中 */
}

.popup h2 {
  margin-bottom: 1.38rem;
  font-size: 2rem;
  font-weight: bold;
  max-width: 100%;
  color: #00ff80;
}

.popup p {
  max-width: 100%;
}

.popup-content {
  display: flex;
  width: 100%;
  height: 100%;
  justify-content: space-between;
}

.popup-content img {
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.content-text {
  background-color: #000000;
  height: 100%;
  width: 100%;
  text-align: left;
  padding: 1rem;
}

.content-text p {
  color: rgb(255, 255, 255);
}

.switch-buttons {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.switch-button {
  padding: 0.5rem;
  margin: 0.5rem;
  border: none;
  cursor: pointer;
  background-color: #888888;
  color: white;
  transition: 0.3s;
}

.switch-button.active,
.switch-button:hover {
  background-color: #00ff80;
}

.more {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  margin-top: 1rem;
}

.more-button,
.order-button {
  font-family: '寒蝉全圆体';
  background-color: rgba(255, 255, 255, 0.1);
  color: rgb(255, 255, 255);
  border: none;
  padding: 0.8rem;
  font-size: 1rem;
  font-weight: normal;
  border-radius: 2rem;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}

.more-button:hover {
  background-color: rgba(255, 255, 255);
  color: rgb(0, 0, 0);
}

.fixed-bottom-box {
  position: fixed;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 20%;
  background-color: rgba(255, 255, 255, 0.2);
  padding: 1rem;
  border-radius: 2rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  left: 71%;
  bottom: 6.2vh;
  z-index: 1;
}

.price {
  font-size: 1.38rem;
  font-weight: bold;
  color: #ffffff;
  align-items: center;
}

.spot {
  font-size: 1rem;
  font-weight: bold;
}


.order-button:hover {
  background-color: #00ff80;
}





#tip-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  z-index: 998;
}

#custom-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 1rem;
  aspect-ratio: 1;
  border-radius: 50%;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 999;
  height: 30vh;
  border: 5px solid #ff0080;
  box-sizing: border-box;
}

.modal-content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.modal-content p,
.modal-text {
  width: 100%;
  font-size: 1rem;
  text-align: center;
  font-weight: bold;
  color: #000000;
}

#close-modal {
  position: absolute;
  bottom: 0;
  aspect-ratio: 1;
  font-size: 0.9rem;
  padding: 0.5rem;
  background: #000000;
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
}



@media (max-width: 768px) {

  body {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
  }

  body::before {
    /* 调整背景的样式以适应手机屏幕 */
    content: "";
    height: 100%;
    background-size: cover;
    /* 适应屏幕 */
  }

  h1 {
    position: relative;
    margin-bottom: 1rem;
    font-size: 2rem;
    max-width: 90%;
  }

  h2 {
    position: relative;
    margin-bottom: 1rem;
    font-size: 1.38rem;
    max-width: 90%;
  }

  a,
  p,
  .p1 {
    position: relative;
    font-size: 1rem;
    max-width: 100%;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 3.1vh;
    width: 5vh;
    cursor: pointer;
    position: absolute;
    right: calc(2.5vh + 3.1vw + 10vw);
  }

  .menu-toggle .bar {
    height: 0.8vh;
    background-color: rgb(0, 0, 0);
    border-radius: 1vh;
  }

  .language-switch {
    position: absolute;
    font-size: 0.8rem;
    width: 10vw;
    cursor: pointer;
  }

  .navbar li {
    margin-left: 0;
  }

  .navbar ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 6.2vh;
    right: 0;
    width: 100%;
  }

  .navbar ul li a {
    display: flex;
    max-width: 100%;
    color: black;
    font-size: 1.382rem;
    line-height: 1rem;
    padding: 1rem;
  }

  .navbar.active ul {
    display: flex;
  }

  .navbar.active li {
    position: relative;
    width: 100%;
    background-color: rgb(255, 255, 255);
    padding: 0;
  }

  .navbar .dropdown {
    display: none;
    position: relative;
    opacity: 1;
    width: 100%;
    box-shadow: none;
  }

  .navbar .dropdown a {
    text-align: left;
    font-size: 1rem;
    line-height: 1rem;
    padding: 1rem;
    max-width: 100%;
    background-color: rgba(128, 128, 128, 0.1);

  }

  .navbar li.active .dropdown {
    display: block;
  }

  .product-image {
    margin-top: 2rem;
    margin-bottom: 2rem;
    max-width: 100%;
  }

  .more-button,
  .order-button,
  .oval-button {
    padding: 0.8rem 1.6rem;
    border-radius: 2rem;
    font-size: 1rem;
  }

  .buy-container {
    flex-direction: column;
  }

  .left {
    width: 100%;
    aspect-ratio: 16/9;
    display: flex;
    margin-top: 0;
    flex-direction: column;
  }

  .carousel-images {
    width: 100%;
    height: 100%;
    position: relative;
  }

  .carousel-image {
    position: relative;
    height: 100%;
    object-fit: contain;
    background-color: rgb(0, 0, 0);
    border-radius: 0;
  }

  .prev,
  .next {
    position: absolute;
    background-color: rgb(0, 0, 0);
    color: rgba(255, 255, 255, 0.5);
    font-size: 1rem;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 3rem;
    border: none;
    cursor: pointer;
    z-index: 0;
    align-items: center;
  }

  .prev {
    left: 5%;
  }

  .next {
    right: 5%;
  }

  form {
    width: 90%;
  }

  .right {
    width: 100%;
    scrollbar-width: none;
    overflow-y: auto;
  }

  .right h1 {
    font-size: 2rem;
    margin-top: 2rem;
  }

  .three-overview {
    gap: 0.5rem;
  }

  .popup {
    width: 90%;
  }

  .popup h2 {
    font-size: 1.618rem;
    max-width: 100%;
    margin-bottom: 0.5rem;
  }

  .popup p {
    max-width: 100%;
    font-size: 1rem;
  }

  .popup-content {
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: column;
  }

  .content-text {
    padding: 0.8rem;
  }

  .content-text p {
    color: rgb(255, 255, 255);
  }

  .visitors {
    margin-bottom: 16.2vh;
  }

  .fixed-bottom-box {
    bottom: 0;
    width: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgb(0, 0, 0);
    border-radius: 0;
    padding: 1rem 2rem;
  }

  footer {
    font-size: 0.8rem;
  }

  .footer-left {
    margin-left: 1rem;
  }

  .footer-right {
    margin-right: 1rem;
  }

}


/* iPad竖屏适配 */
@media (max-width: 900px) {
  .logo-container {
    display: flex;
    align-items: center;
    width: auto;
    max-height: 4.96vh;
  }

  .logo-container img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
  }

  footer {
    font-size: 0.8rem;
  }

  .footer-left {
    margin-left: 1rem;
  }

  .footer-right {
    margin-right: 1rem;
  }

}

/* iPad横屏适配 */
@media (min-width: 900px) and (max-width: 1200px) {
  .logo-container {
    display: flex;
    align-items: center;
    width: auto;
    max-height: 4.96vh;
  }

  .logo-container img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
  }

  footer {
    font-size: 0.8rem;
  }

  .footer-left {
    margin-left: 1rem;
  }

  .footer-right {
    margin-right: 1rem;
  }

}