/* 全局样式 */
:root {
  --primary-color: #714DFF;
  --text-primary: #181D27;
  --text-secondary: #535862;
  --text-tertiary: #9497A1;
  --bg-primary: #F4F1FF;
  --bg-secondary: rgba(245, 245, 245, 0.5);
  --white: #FFFFFF;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-primary);
  line-height: 1.5;
}

/* 布局容器 */
.container {
  max-width: 1280px;
  margin: 0 auto;
  /* padding: 0 32px; */
}

/* 产品标题区域 */
.products-container {
  max-width: 1280px;
  margin: 0 auto;
  text-align: start;
  background: url('/assets/products-bg.png') no-repeat center center;
  background-position: 90% center;
}

.products-header {
  background-color: var(--bg-primary);
  padding: 64px 0;
  text-align: center;
}

.products-header h1 {
  color: #714DFF;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -1.5%;
  margin-bottom: 16px;
  max-width: 675px;
}

.products-header p {
  font-size: 16px;
  font-weight: 300;
  color: #714DFF;
  max-width: 675px;
}

/* 产品卡片网格 */
.products-grid {
  /* display: grid;
  grid-template-columns: repeat(2, 1fr); */
  display: flex;
  flex-direction: column;
  gap: 196px;
  padding: 96px 0;
}

/* 产品卡片 */
.product-card {
  display: flex;
  gap: 50px;
}

.product-image {
  /* width: 100%; */
  /* height: 100%; */
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}

.product-content {
  flex: 1;
}

.product-image img {
  width: 713px;
  height: auto;
  object-fit: cover;
}

.product-image .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(99, 99, 252, 0.1);
  backdrop-filter: blur(3px);
}

/* 产品标签 */
.tags {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.tag {
  background: #f4f1ff;
  border: 4px solid #f9f8ff;
  border-radius: 21px;
  padding: 8px 20px;
  font-size: 16px;
  font-weight: 600;
  color: #714DFF;
}

/* 产品内容 */
.product-content h2 {
  /* font-size: 30px;
  font-weight: 600;
   */
  font-family: Inter;
  font-weight: 600;
  font-size: 30px;
  line-height: 38px;
  letter-spacing: 0%;
  margin-bottom: 16px;
}

.product-content p {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

/* 特性列表 */
.features-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.feature-icon {
  width: 28px;
  height: 28px;
}

.feature-text {
  font-size: 18px;
  color: var(--text-secondary);
}

/* 公司概览区域 */
.company-overview {
  display: flex;
  align-items: center;
  height: 244px;
  background-color: var(--primary-color);
  padding: 30px 0;
  color: var(--white);
}

.stats-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
}

.stat-item {
  text-align: center;
  padding: 0 48px;
}

.stat-number {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.07;
  letter-spacing: -2.5%;
}

.stat-label {
  font-size: 16px;
  font-weight: 600;
  margin-top: 20px;
}

.separator {
  width: 1px;
  height: 92px;
  background-color: rgba(245, 245, 245, 0.2);
}

/* 联系我们区域 */
.contact-section {
  background-color: #ffffff;
  padding: 96px 0;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.contact-info h2 {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.56;
  letter-spacing: -1.5%;
  margin-bottom: 20px;
}

.contact-info p {
  font-size: 16px;
  color: var(--text-tertiary);
  margin-bottom: 24px;
}

.contact-details {
  margin-top: 48px;
}

.contact-item {
  margin-bottom: 24px;
}

.contact-item h3 {
  font-size: 16px;
  color: var(--text-secondary);
  font-weight: 300;
  margin-bottom: 2px;
}

.contact-item p {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

/* 联系表单 */
.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: 6px;
  box-shadow: 0px 12px 30px 17px rgba(24, 92, 255, 0.04);
}

.contact-form h2 {
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 12px;
  color: var(--text-tertiary);
  margin-bottom: 5px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid #E5E7EB;
  padding: 8px 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.submit-button {
  background: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  width: 137px;
  text-align: center;
}

.submit-button:hover {
  background: #5F3FD9;
}

/* 页脚 */
.footer {
  background-color: var(--bg-secondary);
  padding: 64px 0 48px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  margin-bottom: 64px;
}

.footer-column h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--text-tertiary);
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--primary-color);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-logo img {
  height: 32px;
}

.footer-copyright {
  color: #717680;
  font-size: 16px;
}

/* 响应式设计 */
@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .contact-container {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .products-header h1 {
    font-size: 32px;
  }

  .product-image {
    height: 400px;
  }

  .stats-container {
    flex-direction: column;
  }

  .separator {
    width: 80%;
    height: 1px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

.submit-btn {
  display: flex;
  justify-content: flex-end;
}

.products-line-1 {
  position: absolute;
  top: -300px;
}

.relative-1,
.relative-2,
.relative-3 {
  position: relative;
  /* overflow: clip; */
}

.products-line-2 {
  position: absolute;
  top: -736px;
  right: 0;
  width: 100%;
}

.products-line-3 {
  position: absolute;
  width: 82%;
  top: -354px;
  right: 6%;
  transform: translateX(60px);
}