/* 基础样式 */
:root {
  --primary-color: #1a73e8;
  --primary-light: #e8f0fe;
  --secondary-color: #34a853;
  --accent-color: #fbbc05;
  --text-primary: #202124;
  --text-secondary: #5f6368;
  --background: #ffffff;
  --background-light: #f8f9fa;
  --border-color: #dadce0;
  --border-radius: 8px;
  --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
  color: var(--text-primary);
  background-color: var(--background);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

a:hover {
  opacity: 0.8;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* 布局样式 */
.product-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

.section-description {
  max-width: 700px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

/* 英雄区域 */
.hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 3rem 0;
  margin-bottom: 3rem;
}

.hero-content {
  max-width: 800px;
  margin-bottom: 2rem;
}

.hero-content .subtitle {
  font-size: 1.25rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.hero-image {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

/* 产品卡片 */
.product-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.product-card {
  background: var(--background);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--box-shadow);
}

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

.card-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

/* 按钮样式 */
.btn-more, .btn-primary {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 500;
  transition: var(--transition);
  cursor: pointer;
  margin-top: 1rem;
}

.btn-more {
  background: transparent;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-more:hover {
  background: var(--primary-light);
}

.btn-primary {
  background: var(--primary-color);
  color: white;
  border: none;
}

.btn-primary:hover {
  background: #0d5bba;
  color: white;
}

/* 标签页样式 */
.tab-buttons {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tab-btn {
  padding: 0.75rem 1.5rem;
  background: transparent;
  border: none;
  border-radius: var(--border-radius);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-secondary);
}

.tab-btn:hover, .tab-btn.active {
  background: var(--primary-light);
  color: var(--primary-color);
}

.tab-btn.active {
  font-weight: 600;
}

.tab-content {
  display: none;
  animation: fadeIn 0.5s ease;
}

.tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* 详情内容 */
.detail-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  background: var(--background-light);
  padding: 2rem;
  border-radius: var(--border-radius);
  margin-bottom: 3rem;
}

.detail-text {
  flex: 1;
}

.detail-image {
  flex: 1;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.detail-text ul {
  list-style: none;
  margin: 1.5rem 0;
}

.detail-text li {
  margin-bottom: 0.75rem;
  display: flex;
  align-items: flex-start;
}

.detail-text li i {
  color: var(--secondary-color);
  margin-right: 0.5rem;
  font-size: 1.1rem;
}

/* 应用场景 */
.use-cases {
  margin-top: 4rem;
  text-align: center;
}

.case-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.case-card {
  background: var(--background);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  transition: var(--transition);
}

.case-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--box-shadow);
}

.case-icon {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* 响应式设计 */
@media (min-width: 768px) {
  .hero-section {
    flex-direction: row;
    text-align: left;
    gap: 3rem;
  }
  
  .hero-content {
    margin-bottom: 0;
    flex: 1;
  }
  
  .hero-image {
    flex: 1;
  }
  
  .detail-content {
    flex-direction: row;
  }
  
  .detail-text, .detail-image {
    flex: 1;
  }
}

@media (max-width: 480px) {
  .product-cards, .case-cards {
    grid-template-columns: 1fr;
  }
  
  .tab-buttons {
    flex-direction: column;
    align-items: stretch;
  }
}