/* ===== 全局样式 ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #ffc509;
  --primary-hover: #e6b308;
  --text-dark: #1f2937;
  --text-gray: #6b7280;
  --text-light: #9ca3af;
  --bg-light: #fffbf0;
  --border-gray: #e5e7eb;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji",
    "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  line-height: 1.6;
  color: var(--text-dark);
  background: #ffffff;
  overflow-x: hidden;
}

.container {
  max-width: 1536px;
  margin: 0 auto;
  padding: 0 1rem;
}
.container-1500 {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 1rem;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===== 按钮样式 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  gap: 0.5rem;
}

.btn-primary {
  background: var(--primary-color);
  color: var(--text-dark);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: scale(1.05);
}

.btn-outline {
  background: white;
  color: var(--text-dark);
  border: 1px solid var(--border-gray);
}

.btn-outline:hover {
  background: #f9fafb;
}

.btn-large {
  padding: 0.75rem 2rem;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

/* ===== 导航栏 ===== */

.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-dark);
  cursor: pointer;
  display: block;
}

.mobile-menu {
  display: none;
  background: white;
  border-top: 1px solid var(--border-gray);
  padding: 1rem;
}

.mobile-menu.active {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav-link {
  color: var(--text-dark);
  text-decoration: none;
  padding: 0.5rem 0;
  transition: color 0.2s;
}

.mobile-nav-link:hover {
  color: var(--primary-color);
}

.mobile-cta {
  margin-top: 0.5rem;
}

/* ===== Hero 区块 ===== */
.hero-section {
  padding-top: 10rem;
  padding-bottom: 5rem;
  background: linear-gradient(to bottom right, var(--bg-light), white);
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.text-highlight {
  color: var(--primary-color);
}

.hero-description {
  font-size: 1.25rem;
  color: var(--text-gray);
  margin-bottom: 2rem;
  line-height: 1.75;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.user-avatars {
  display: flex;
  margin-left: -0.5rem;
}

.avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 2px solid white;
  overflow: hidden;
  margin-left: -0.5rem;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stars {
  display: flex;
  gap: 0.25rem;
  color: var(--primary-color);
  font-size: 1rem;
}

.stats-text {
  font-size: 0.875rem;
  color: var(--text-gray);
}

.hero-image {
  position: relative;
}

.image-wrapper {
  position: relative;
  z-index: 10;
}

.main-image {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: var(--shadow-2xl);
}

.floating-card {
  position: absolute;
  background: white;
  padding: 1rem;
  border-radius: 0.75rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.card-bottom-left {
  bottom: -1.5rem;
  left: -1.5rem;
}

.card-top-right {
  top: -1.5rem;
  right: -1.5rem;
}

.card-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: #fff3cd;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 1.25rem;
  font-weight: 700;
}

.card-label {
  font-size: 0.875rem;
  color: var(--text-gray);
}

.card-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
}

.image-bg-decoration {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(3deg) scale(1.05);
  width: 100%;
  height: 100%;
  background: var(--primary-color);
  border-radius: 1rem;
  z-index: -1;
}

/* ===== 区块通用样式 ===== */
.section-header {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 4rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-description {
  font-size: 1.125rem;
  color: var(--text-gray);
}

/* ===== 产品区块 ===== */
.products-section {
  padding: 5rem 0;
  background: white;
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.product-card {
  background: white;
  border-radius: 1rem;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  border: 1px solid var(--border-gray);
  transition: all 0.3s;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-color);
  box-shadow: 0 25px 50px -12px rgba(255, 197, 9, 0.25);
}

.product-image {
  height: 16rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s;
}

.product-card:hover .product-image img {
  transform: scale(1.1);
}

.product-content {
  padding: 2rem;
}

.product-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.product-description {
  color: var(--text-gray);
  margin-bottom: 1.5rem;
}

.product-subtitle {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.product-features {
  list-style: none;
}

.product-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--primary-color);
  color: white;
  font-size: 0.875rem;
  flex-shrink: 0;
}

/* ===== 流程区块 ===== */
.process-section {
  padding: 5rem 0;
  background: linear-gradient(to bottom right, var(--bg-light), white);
}

.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.process-card {
  background: white;
  border-radius: 1rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-gray);
  padding: 2rem;
  text-align: center;
  transition: all 0.3s;
}

.process-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-color);
  box-shadow: 0 25px 50px -12px rgba(255, 197, 9, 0.25);
}

.process-icon {
  width: 5rem;
  height: 5rem;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: #fff3cd;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.875rem;
  color: var(--primary-color);
}

.process-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.process-description {
  color: var(--text-gray);
}

/* ===== 应用场景区块 ===== */
.scenes-section {
  padding: 5rem 0;
  background: white;
}

.scenes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.scene-card {
  background: white;
  border-radius: 1rem;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  border: 1px solid var(--border-gray);
  transition: all 0.3s;
}

.scene-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-color);
  box-shadow: 0 25px 50px -12px rgba(255, 197, 9, 0.25);
}

.scene-image {
  height: 13rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scene-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.scene-card:hover .scene-image img {
  transform: scale(1.1);
}

.scene-content {
  padding: 1.5rem;
}

.scene-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.scene-description {
  color: var(--text-gray);
}

/* ===== 技术优势区块 ===== */
.technology-section {
  padding: 5rem 0;
  background: linear-gradient(to bottom right, var(--bg-light), white);
}

.technology-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.tech-card {
  background: white;
  border-radius: 1rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-gray);
  padding: 2rem;
  transition: all 0.3s;
}

.tech-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-color);
  box-shadow: 0 25px 50px -12px rgba(255, 197, 9, 0.25);
}

.tech-icon {
  width: 4rem;
  height: 4rem;
  margin-bottom: 1.5rem;
  border-radius: 50%;
  background: #fff3cd;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.875rem;
  color: var(--primary-color);
}

.tech-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.tech-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.tech-item h4 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.tech-item p {
  color: var(--text-gray);
}

.tech-list {
  list-style: none;
  margin-top: 0.5rem;
}

.tech-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-gray);
}

.check-icon-small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: var(--primary-color);
  color: white;
  font-size: 0.625rem;
  flex-shrink: 0;
  vertical-align: middle;
  margin-right: 0.5rem;
}

/* ===== 设备规格区块 ===== */
.specs-section {
  padding: 4rem 0;
  background: white;
}

.specs-container {
  background: white;
  border-radius: 1rem;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  border: 1px solid var(--border-gray);
  display: flex;
  grid-template-columns: 1fr;
}

.specs-images {
  flex: 1;
  display: flex;
  justify-content: space-between;
}

.specs-image-item {
  overflow: hidden;
  border-radius: 0.5rem;
  flex: 1;
}

.specs-image-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s;
}

.specs-container .specs-image-item img:hover {
  transform: scale(1.05);
}

.specs-content {
  padding: 2rem;
  width: 320px;
}

.specs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.spec-item {
  background: #f9fafb;
  padding: 1.25rem;
  border-radius: 0.75rem;
}

.spec-item h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.spec-item p {
  color: var(--text-dark);
}

/* ===== 案例区块 ===== */
.cases-section {
  padding: 5rem 0;
  /* background: white; */
  background-image: linear-gradient(to bottom right, var(--bg-light), white);
}

.cases-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.case-card {
  background: white;
  border-radius: 1rem;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  border: 1px solid var(--border-gray);
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}

.case-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px -12px rgba(255, 197, 9, 0.25);
}

.case-image {
  height: 10rem;
  overflow: hidden;
  width: 100%;
  flex-shrink: 0;
  margin-bottom: 1rem;
}

.case-image img {
  overflow: hidden;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
  border-radius: 0.75rem;
}

.case-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.case-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.case-type {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.case-stats {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
}

.case-stat-item {
  background: #f9fafb;
  padding: 1rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 4rem;
  width: 49%;
  --tw-bg-opacity: 1;
  background-color: rgb(255 251 240 / var(--tw-bg-opacity, 1));
}

.case-stat-item div {
  width: 100%;
  text-align: center;
}
.stat-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: #fff3cd;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  flex-shrink: 0;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-gray);
}

.stat-value {
  text-align: center;
  font-weight: 700;
  color: var(--text-dark);
  font-size: 1.875rem;
  color: rgb(251 202 10 / var(--tw-text-opacity, 1));
}

/* ===== 联系区块 ===== */
.contact-section {
  padding: 5rem 0;
  background: linear-gradient(to bottom right, var(--bg-light), white);
}

.contact-container {
  background: white;
  border-radius: 1rem;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
}

.contact-info {
  background: var(--primary-color);
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-title {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.contact-description {
  color: var(--text-dark);
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  flex-shrink: 0;
}

.contact-label {
  font-size: 0.875rem;
  color: var(--text-dark);
}

.contact-value {
  font-weight: 500;
  color: var(--text-dark);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  transition: background 0.2s;
  text-decoration: none;
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.5);
}

.contact-form-wrapper {
  padding: 3rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-gray);
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: all 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(255, 197, 9, 0.1);
}

.form-group textarea {
  resize: none;
}

/* ===== 页脚 ===== */

/* ===== 动画 ===== */
.animate-fade-in-left {
  opacity: 0;
  transform: translateX(-50px);
  animation: fadeInLeft 0.8s forwards;
}

.animate-fade-in-right {
  opacity: 0;
  transform: translateX(50px);
  animation: fadeInRight 0.8s 0.2s forwards;
}

@keyframes fadeInLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.5s, transform 0.5s;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== 响应式设计 ===== */
@media (min-width: 768px) {
  .navbar-menu {
    display: flex;
  }

  .navbar-cta {
    display: block;
  }

  .mobile-menu-toggle {
    display: none;
  }

  .hero-content {
    grid-template-columns: 1fr 1fr;
  }

  .hero-title {
    font-size: 3rem;
  }

  .hero-buttons {
    flex-direction: row;
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .scenes-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .specs-container {
    grid-template-columns: 1fr 1fr;
  }

  .contact-container {
    grid-template-columns: 1fr 1fr;
  }

  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.75rem;
  }

  .section-title {
    font-size: 2.25rem;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .scenes-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .technology-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cases-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.tech-item-content div {
  display: flex;
  align-items: center;
}
