/* 首页样式 */

body {
  font-family: "Inter", sans-serif;
  background-color: #fff;
}

/* banner区域 */
.hero {
  position: relative;
  overflow: hidden;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #8c25b3 0%, #6a1b9a 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  padding: 0 20px;
}
.hero-content h2 {
  font-weight: bolder;
}
.hero-content .vetiepetieDes {
  margin: 1rem 0;
  font-weight: 300;
}

.hero .downloadButton {
  text-align: center;
}
.hero .downloadButton img {
  display: inline;
  width: 10.75rem;
}
/* banner区域 动物icon */
.floating-pets {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
  opacity: 0.15;
}
.pet-icon {
  position: absolute;
  font-size: 5rem;
  color: white;
  opacity: 0.7;
  animation: float 15s infinite linear;
}

.pet-icon:nth-child(1) {
  top: 10%;
  left: 5%;
  animation-delay: 0s;
}

.pet-icon:nth-child(2) {
  top: 20%;
  left: 80%;
  animation-delay: 2s;
}

.pet-icon:nth-child(3) {
  top: 70%;
  left: 15%;
  animation-delay: 4s;
}

.pet-icon:nth-child(4) {
  top: 60%;
  left: 75%;
  animation-delay: 6s;
}

.pet-icon:nth-child(5) {
  top: 30%;
  left: 40%;
  animation-delay: 8s;
}

@keyframes float {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-20px) rotate(5deg);
  }
  50% {
    transform: translateY(0) rotate(0deg);
  }
  75% {
    transform: translateY(20px) rotate(-5deg);
  }
  100% {
    transform: translateY(0) rotate(0deg);
  }
}

.ai-circuit {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-image: radial-gradient(
      circle at 10% 20%,
      rgba(255, 255, 255, 0.05) 0%,
      transparent 2%
    ),
    radial-gradient(
      circle at 90% 30%,
      rgba(255, 255, 255, 0.05) 0%,
      transparent 2%
    ),
    radial-gradient(
      circle at 50% 80%,
      rgba(255, 255, 255, 0.05) 0%,
      transparent 2%
    );
  background-size: 200% 200%;
  animation: circuitMove 20s infinite alternate;
  z-index: 1;
}

@keyframes circuitMove {
  0% {
    background-position: 0% 0%;
  }
  100% {
    background-position: 100% 100%;
  }
}

.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.tech-pattern {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-image: linear-gradient(
      45deg,
      rgba(140, 37, 179, 0.1) 25%,
      transparent 25%,
      transparent 75%,
      rgba(140, 37, 179, 0.1) 75%
    ),
    linear-gradient(
      45deg,
      rgba(140, 37, 179, 0.1) 25%,
      transparent 25%,
      transparent 75%,
      rgba(140, 37, 179, 0.1) 75%
    );
  background-size: 60px 60px;
  background-position: 0 0, 30px 30px;
  animation: slide 4s linear infinite;
  z-index: 1;
}

@keyframes slide {
  0% {
    background-position: 0 0, 30px 30px;
  }
  100% {
    background-position: 60px 60px, 90px 90px;
  }
}

.ai-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
  overflow: hidden;
}

.particle {
  position: absolute;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  animation: float-particle 15s infinite linear;
}

@keyframes float-particle {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 0.5;
  }
  90% {
    opacity: 0.5;
  }
  100% {
    transform: translateY(-500px) translateX(100px);
    opacity: 0;
  }
}

/* Language switch styles */
.language-switch {
  position: relative;
  display: inline-block;
}

.language-btn {
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: all 0.3s;
}

.language-btn:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

.language-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: none;
  z-index: 1000;
}

.language-dropdown.show {
  display: block;
}

.language-option {
  padding: 10px 16px;
  color: #2d1b3d;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: all 0.2s;
}

.language-option:hover {
  background-color: #e9d4ff;
  color: #8c25b3;
}

.language-option i {
  margin-right: 8px;
}

/* Content that will be translated */
.translatable {
  transition: opacity 0.3s ease;
}

.fade-out {
  opacity: 0;
}

.fade-in {
  opacity: 1;
}
/*核心卖点*/

/*区分移动端和web端，移动端显示边框*/
@media (max-width: 768px) {
  .core-features .featureItem {
    border-bottom: 1px dashed #6a1b9a;
    border-left: none;
  }
  .core-features .featureItem:last-child {
    border-bottom: none;
  }
}
.core-features .featureItem {
  text-align: center;
  padding: 0 0 1rem;
}

.core-features .item-content {
  text-align: center;
}
.core-features .featureItem i {
  display: inline-block;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 1rem;
  background-color: #6a1b9a;
  color: #fff;
  font-size: 1rem;
  font-weight: bold;
  text-align: center;
  vertical-align: middle;
  font-style: normal;
  margin-bottom: 0.5rem;
}

.core-features .items-header {
  padding: 1.3rem 0.5rem 1rem 0.5rem;
}
.core-features .items-center h3 {
  font-size: 1.6rem;
  font-weight: bolder;
  padding: 0.5rem 0 0.4rem 0;
}
.core-features p {
  font-size: 0.9rem;
  font-weight: 200;
  padding: 0.7rem 0;
  text-align: center;
}
.core-features img {
  width: 24.4rem;
  display: inline-block;
}
.core-features .aiknowlage {
  /* 让列表项在同一行显示 */
  display: flex;
  /* 水平居中对齐 */
  justify-content: center;
  /* 垂直居中对齐（可选，根据内容高度调整） */
  align-items: center;
}
.core-features .aiknowlage li {
  display: flex;
  margin: 0.5rem;
}
.core-features .aiknowlage img {
  display: inline-block;
  width: 5.2rem;
}

/*service-process 如何使用*/
.service-process p {
  font-size: 0.9rem;
  font-weight: 200;
  padding: 0.5rem 0;
}

/*about  关于Vetiepetie*/
.about p {
  font-size: 0.9rem;
  font-weight: 200;
  padding: 0.5rem 0;
  color: #fff;
}

/*footer*/
.footer {
  color: #fff;
  padding: 2rem;
}

.terms,
.contact {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.189);
}

.terms a,
.contact a {
  display: block;
  color: #8cbbff;
}
