/*
 * Copyright 2024-2026 the original author or authors.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

:root {
  /* --primary-color: #0eb676; */
  --primary-color: #ffffff;
  --primary-dark: #0d9e66;
  /* --secondary-color: #f7fafc; */
  --secondary-color: #f3f3f3;
  --text-primary: #2d3748;
  --text-secondary: #4a5568;
  --text-light: #a0aec0;
  --border-color: #e2e8f0;
  --hover-color: #f1f5f9;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  --border-radius: 15px;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background: white;
}

.container {
  /* max-width: 1200px; */
  margin: 0 auto;
  padding: 0 20px;
}

/* 导航栏 */
.navbar {
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.logo-title {
  display: flex;
  align-items: center;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0px 22px 122px;
}

.logo {
  margin-right: 60px;
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
  background: linear-gradient(135deg, #40b789 0%, #0d9e66 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 500;
  transition: var(--transition);
}

.nav-links a:hover {
  color: #00dc24;
}

.nav-actions {
  display: flex;
  gap: 12px;
}

.login-btn {
  padding: 8px 16px;
  border: 1px solid var(--border-color);
  background: white;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.login-btn:hover {
  border-color: var(--border-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px border-color;
  /* color: var(--primary-color); */
}

.register-btn {
  padding: 8px 16px;
  background: linear-gradient(135deg, #57a868 0%, #2dbe5b 100%);
  border: none;
  border-radius: 8px;
  color: white;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.register-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(45, 190, 91, 0.3);
}

/* 英雄区域 */
.hero {
  padding: 80px 0;
  /* background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%); */
  width: 100%;
  height: 880px;
  background-image: url("../image/首屏背景.png");
  background-size: cover;
  background-position: center;
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 60px;
}

.hero-content {
  /* flex: 1; */
  padding-left: 230px;
  padding-top: 200px;
}
.hero-content-title1 {
  width: 730px;
  /* height: 84px; */
  font-size: 90px;
  font-family: Alibaba PuHuiTi;
  font-weight: 600;
  text-align: left;
  color: #101010;
  line-height: 151px;
  letter-spacing: 2.25px;
}

.hero-content h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.hero-content p {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.start-btn {
  padding: 16px 32px;
  color: white;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(45, 190, 91, 0.3);
  width: 240px;
  height: 66px;
  background: #00dc24;
  border: none;
  border-radius: 16px;
}

.start-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(45, 190, 91, 0.4);
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.ai-icon {
  position: relative;
  width: 300px;
  height: 300px;
}

.ai-cloud {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 180px;
  height: 180px;
  background: linear-gradient(135deg, #57a868 0%, #2dbe5b 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(45, 190, 91, 0.3);
  animation: float 3s ease-in-out infinite;
}

.ai-text {
  font-size: 48px;
  font-weight: 700;
  color: white;
}

.ai-orbit {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 2px solid rgba(14, 182, 118, 0.3);
  border-radius: 50%;
  animation: rotate 20s linear infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translate(-50%, -50%) translateY(0);
  }
  50% {
    transform: translate(-50%, -50%) translateY(-10px);
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* 滚动动画类 */
.scroll-animate {
  opacity: 0;
  transform: translateY(50px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}
.scroll-animate.animated {
  opacity: 1;
  transform: translateY(0);
}

.scroll-animateEng {
  /* transform: translateY(50px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease; */
  opacity: 0;
  font-size: 80px;
  width: 100%;
  text-align: center;
  margin-top: -123px;
  font-weight: 900;
  color: #d7dadd;
}
.scroll-animateEng.animated {
  opacity: 0.2;
  transform: translateY(0);
}

/* 数据区域 */
.data-section {
  padding: 80px 360px;
  /* background: white; */
  background: linear-gradient(0deg, #f3f3f3 51%, #ffffff 100%), #ffffff;
  border-radius: 120px 0px 0px 0px;
}

.data-section h2 {
  text-align: center;
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 48px;
  color: var(--text-primary);
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.data-section h2.animated {
  opacity: 1;
  transform: translateY(0);
}

.data-grid {
  /* display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px; */
  display: flex;
  justify-content: space-between;
}

.data-item {
  text-align: center;
  padding: 32px 24px;
  background: var(--secondary-color);
  border-radius: 15px;
  transition: var(--transition);
  width: 22%;
}

.data-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.data-value {
  font-size: 32px;
  font-weight: 700;
  /* color: var(--primary-color); */
  margin-bottom: 8px;
  background: linear-gradient(0deg, #31e1ce 0%, #00dc24 100%);
  color: transparent;
  background-clip: text;
  font-weight: 700;
  font-family:
    HarmonyOS Sans SC,
    HarmonyOS Sans SC-Bold;
}

.data-label {
  font-size: 14px;
  color: var(--text-secondary);
}
/* 架构区域 */
.advantages-architecture {
  padding: 80px 0;
  background: var(--secondary-color);
}
.advantages-architecture h2 {
  text-align: center;
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 48px;
  color: var(--text-primary);
}
.scroll-architecture {
  opacity: 0;
  font-size: 80px;
  width: 100%;
  text-align: center;
  margin-top: -123px;
  font-weight: 900;
  color: #d7dadd;
}
.scroll-architecture.animated {
  opacity: 0.2;
  transform: translateY(0);
}
.architecture-content {
  padding: 50px 360px;
  display: flex;
  justify-content: space-between;
  flex-wrap: nowrap;
}
.architecture-content-item {
  width: 160px;
  /* height: 360px; */
  background: linear-gradient(0deg, #effff4 50%, #aaffb8 100%), #f9fffa;
  border-radius: 16px;
  padding: 20px 25px;
  text-align: center;
}
.architecture-content-item-title {
  font-size: 18px;
  font-family:
    HarmonyOS Sans SC,
    HarmonyOS Sans SC-Bold;
  font-weight: 700;
  color: #101010;
  letter-spacing: 0.45px;
}
.architecture-content-item-div {
  padding: 25px 20px;
  background: #ffffff;
  border-radius: 8px;
  margin-top: 12px;
  font-size: 14px;
  font-family:
    HarmonyOS Sans SC,
    HarmonyOS Sans SC-Regular;
  font-weight: 400;
  color: #101010;
}
.divFour {
  padding: 15px 25px;
}
.divFive {
  padding: 10px 25px;
}
.architecture-content-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* 优势区域 */
.advantages-section {
  padding: 0px 360px;
  background: var(--secondary-color);
}

.advantages-section h2 {
  text-align: center;
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 48px;
  color: var(--text-primary);
}

.advantages-tabs {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
}

.tab {
  padding: 10px 20px;
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 25px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
  color: #101010;
}

.tab:hover {
  border-color: var(--primary-color);
  /* color: var(--primary-color); */
}

.tab.active {
  background: var(--primary-color);
  color: rgb(0, 0, 0);
  border-color: var(--primary-color);
}

.advantage-content {
  display: flex;
  align-items: center;
  gap: 60px;
  background: white;
  padding-left: 40px;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.advantage-text {
  height: 400px;
  flex: 1;
}
.advantage-text-title {
  display: flex;
  align-items: center;
  gap: 12px;
  align-items: center;
  font-size: 18px;
  font-weight: 500;
  color: #101010;
  font-family:
    HarmonyOS Sans SC,
    HarmonyOS Sans SC-Medium;
}
.advantage-text-nav {
  font-size: 14px;
  font-family:
    HarmonyOS Sans SC,
    HarmonyOS Sans SC-Regular;
  font-weight: 400;
  text-align: left;
  color: #666666;
  margin-bottom: 20px;
}

.advantage-text h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.advantage-text ul {
  list-style: none;
  margin-bottom: 32px;
}

.advantage-text li {
  padding: 8px 0;
  padding-left: 24px;
  position: relative;
  color: var(--text-secondary);
}

.advantage-text li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

.learn-more-btn {
  padding: 10px 24px;
  background: #00dc24;
  border: 1px solid #1be98a;
  color: white;
  border-radius: 10px;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.learn-more-btn:hover {
  /* background: var(--primary-dark); */
  color: rgb(8, 8, 8);
  transform: translateY(-2px);
}

.advantage-image {
  flex: 1;
  display: flex;
  justify-content: center;
  border-radius: 0px 10px 10px 0px;
  overflow: hidden;
}

.advantage-visual {
  position: relative;
  width: 300px;
  height: 300px;
}

.diamond {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, #57a868 0%, #2dbe5b 100%);
  border-radius: 8px;
  animation: pulse 2s ease-in-out infinite;
}

.bars {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  gap: 12px;
}

.bar {
  width: 20px;
  height: 80px;
  background: linear-gradient(180deg, #57a868 0%, #2dbe5b 100%);
  border-radius: 10px;
  animation: barAnimation 2s ease-in-out infinite;
}

.bar:nth-child(1) {
  animation-delay: 0s;
}

.bar:nth-child(2) {
  animation-delay: 0.3s;
}

.bar:nth-child(3) {
  animation-delay: 0.6s;
}

@keyframes pulse {
  0%,
  100% {
    transform: translate(-50%, -50%) rotate(45deg) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) rotate(45deg) scale(1.05);
  }
}

@keyframes barAnimation {
  0%,
  100% {
    height: 60px;
  }
  50% {
    height: 80px;
  }
}

/* 模型区域 */
.models-section {
  padding: 80px 360px;
  background: var(--secondary-color);
}

.models-section h2 {
  text-align: center;
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 48px;
  color: var(--text-primary);
}

.models-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  /* height: 280px; */
}

.model-card {
  padding: 32px 24px;
  background: white;
  border-radius: 15px;
  /* text-align: center; */
  transition: var(--transition);
}

.model-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.model-icon {
  margin-bottom: 16px;
}

.model-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.model-card p {
  font-size: 14px;
  color: var(--text-secondary);
}

/* 应用场景区域 */
.scenarios-section {
  padding: 0px 360px;
  padding-bottom: 80px;
  background: var(--secondary-color);
}

.scenarios-section h2 {
  text-align: center;
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 48px;
  color: var(--text-primary);
}

.scenarios-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.scenario-item {
  padding: 24px;
  background: white;
  border-radius: 15px;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
}
.scenario-item-nav {
  margin-left: 12px;
}
.scenario-item-nav-titlt {
  font-size: 16px;
  font-weight: 700;
}
.scenario-item-nav-nav {
  font-size: 14px;
}

.scenario-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.scenario-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.scenario-item h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

/* 联系我们区域 */
.contact-section {
  padding: 0px 360;
  height: 680px;
  background: url("../image/联系我们-底.png");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.contact-content h2 {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 16px;
}

.contact-content p {
  font-size: 18px;
  margin-bottom: 32px;
  opacity: 0.9;
  font-size: 32px;
  font-weight: 700;
  color: #00dc24;
}

.contact-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.contact-btn {
  padding: 20px 50px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid #00dc24;
  border-radius: 10px;
  background: #00dc24;
  color: white;
}

.contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.demo-btn {
  padding: 20px 50px;
  border: 1px solid white;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid #00dc24;
  border-radius: 10px;
  background: white;
  color: #00dc24;
}

.demo-btn:hover {
  /* background: white;
  color: var(--primary-color); */
  transform: translateY(-2px);
}

/* 页脚 */
.footer {
  /* padding: 60px 0 30px; */
  background: white;
  color: #666666;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
}

.footer-info h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}

.footer-info p {
  color: var(--text-light);
  max-width: 300px;
}

.footer-links {
  display: flex;
  gap: 60px;
}

.footer-link-group h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer-link-group a {
  display: block;
  color: var(--text-light);
  text-decoration: none;
  margin-bottom: 8px;
  transition: var(--transition);
}

.footer-link-group a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  /* border-top: 1px solid rgba(255, 255, 255, 0.1); */
  /* padding-top: 30px; */
  line-height: 60px;
  text-align: center;
  color: var(--text-light);
  font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .navbar .container {
    flex-direction: column;
    gap: 16px;
    padding: 16px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero .container {
    flex-direction: column;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 36px;
  }

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

  .advantage-content {
    flex-direction: column;
    text-align: center;
  }

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

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

  .footer-content {
    flex-direction: column;
    gap: 40px;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 40px;
  }
}

@media (max-width: 480px) {
  .data-grid {
    grid-template-columns: 1fr;
  }

  .models-grid {
    grid-template-columns: 1fr;
  }

  .scenarios-grid {
    grid-template-columns: 1fr;
  }

  .advantages-tabs {
    flex-wrap: wrap;
  }

  .contact-buttons {
    flex-direction: column;
    align-items: center;
  }
}
