/* 腾讯云风格首页样式 */

/* ========== 全局样式 ========== */
:root {
  --primary-color: #0052d9;
  --primary-hover: #266fe8;
  --primary-active: #003cab;
  --secondary-color: #f2f4f8;
  --text-primary: rgba(0, 0, 0, 0.9);
  --text-secondary: rgba(0, 0, 0, 0.7);
  --text-tertiary: rgba(0, 0, 0, 0.5);
  --border-color: #e6e9ef;
  --bg-light: #f7f8fb;
  --gradient-blue: linear-gradient(135deg, #4f9dff, #4960ff);
  --gradient-purple: linear-gradient(135deg, #a283ff, #6366f1);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
}

#index-tencent {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text-primary);
  background: #ffffff;
}

/* ========== 轮播图区域 ========== */
.tencent-banner {
  margin-bottom: 0;
}


/* ========== 核心产品 ========== */
.core-products {
  padding: 80px 0;
  background: var(--bg-light);
}

@media (max-width: 768px) {
  .core-products {
    padding-top: 180px;
  }
}

@media (max-width: 480px) {
  .core-products {
    padding-top: 170px;
  }
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title-large {
  font-size: 42px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
}

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

.product-card {
  position: relative;
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 32px;
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.product-featured {
  border: 2px solid var(--primary-color);
  background: linear-gradient(180deg, rgba(0, 82, 217, 0.02), #ffffff);
}

.product-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 6px 16px;
  background: var(--gradient-blue);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  border-radius: 16px;
}

.product-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.product-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-blue);
  border-radius: var(--radius-lg);
  color: #ffffff;
  font-size: 28px;
  flex-shrink: 0;
}

.product-title {
  font-size: 22px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.product-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.product-features {
  margin-bottom: 24px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-secondary);
}

.feature-item .iconfont {
  color: var(--primary-color);
  font-size: 16px;
}

.product-price {
  margin-bottom: 24px;
  padding: 16px;
  background: rgba(0, 82, 217, 0.05);
  border-radius: var(--radius-md);
  text-align: center;
}

.price-label {
  font-size: 14px;
  color: var(--text-secondary);
  margin-right: 4px;
}

.price-value {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary-color);
}

.price-unit {
  font-size: 14px;
  color: var(--text-secondary);
  margin-left: 4px;
}

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

.btn-primary,
.btn-secondary,
.btn-text {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  flex: 1;
}

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

.btn-primary:hover {
  background: var(--primary-hover);
  box-shadow: 0 4px 12px rgba(0, 82, 217, 0.3);
}

.btn-secondary {
  background: #ffffff;
  color: var(--primary-color);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  border-color: var(--primary-color);
  background: rgba(0, 82, 217, 0.05);
}

.btn-text {
  background: transparent;
  color: var(--primary-color);
  border: none;
  padding: 10px;
}

.btn-text:hover {
  background: rgba(0, 82, 217, 0.05);
}

/* ========== 行业解决方案 ========== */
.solutions-section {
  padding: 80px 0;
  background: #ffffff;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.solution-card {
  position: relative;
  height: 280px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  text-decoration: none;
  transition: all 0.3s ease;
}

.solution-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

.solution-bg-1 { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.solution-bg-2 { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
.solution-bg-3 { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
.solution-bg-4 { background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); }
.solution-bg-5 { background: linear-gradient(135deg, #fa709a 0%, #fee140 100%); }
.solution-bg-6 { background: linear-gradient(135deg, #30cfd0 0%, #330867 100%); }

.solution-card:hover .solution-bg {
  transform: scale(1.1);
}

.solution-content {
  position: relative;
  height: 100%;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
  color: #ffffff;
}

.solution-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  font-size: 28px;
  margin-bottom: 16px;
}

.solution-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 12px;
}

.solution-desc {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.9;
  margin-bottom: 16px;
}

.solution-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  transition: gap 0.3s ease;
}

.solution-card:hover .solution-link {
  gap: 12px;
}

.view-all-solutions {
  text-align: center;
}

.btn-outline-large {
  padding: 14px 40px;
  font-size: 16px;
  font-weight: 500;
  color: var(--primary-color);
  background: #ffffff;
  border: 2px solid var(--primary-color);
  border-radius: var(--radius-md);
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}

.btn-outline-large:hover {
  background: var(--primary-color);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 82, 217, 0.3);
}

/* ========== 客户案例 ========== */
.customer-cases {
  padding: 80px 0;
  background: var(--bg-light);
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 60px;
}

.case-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

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

.case-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: var(--bg-light);
}

.case-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.case-card:hover .case-image img {
  transform: scale(1.1);
}

.case-content {
  padding: 24px;
}

.case-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.case-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.case-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.case-tag {
  padding: 4px 12px;
  font-size: 12px;
  background: rgba(0, 82, 217, 0.1);
  color: var(--primary-color);
  border-radius: 12px;
}

.partners-section {
  margin-top: 60px;
}

.partners-title {
  font-size: 24px;
  font-weight: 600;
  text-align: center;
  color: var(--text-primary);
  margin-bottom: 40px;
}

.partners-logos {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 24px;
  align-items: center;
}

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.partner-logo:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.partner-logo img {
  max-width: 100%;
  height: auto;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all 0.3s ease;
}

.partner-logo:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* ========== 技术优势 ========== */
.tech-advantages {
  padding: 80px 0;
  background: #ffffff;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

.advantage-card {
  padding: 32px;
  background: var(--bg-light);
  border-radius: var(--radius-xl);
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.advantage-card:hover {
  background: #ffffff;
  border-color: var(--primary-color);
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.advantage-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-blue);
  border-radius: var(--radius-lg);
  color: #ffffff;
  font-size: 32px;
  margin-bottom: 20px;
}

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

.advantage-stats {
  margin-bottom: 16px;
}

.stat-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 12px;
}

.stat-num {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-color);
}

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

.advantage-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.certifications {
  padding: 60px 0;
  background: var(--bg-light);
  border-radius: var(--radius-xl);
}

.cert-title {
  font-size: 24px;
  font-weight: 600;
  text-align: center;
  color: var(--text-primary);
  margin-bottom: 40px;
}

.cert-list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  padding: 0 40px;
}

.cert-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  background: #ffffff;
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}

.cert-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.cert-item img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 12px;
}

.cert-name {
  font-size: 12px;
  color: var(--text-secondary);
  text-align: center;
}

/* ========== 新闻动态 ========== */
.news-section {
  padding: 80px 0;
  background: var(--bg-light);
}

.news-tabs {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.tab-nav {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  border-bottom: 2px solid var(--border-color);
}

.tab-btn {
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-secondary);
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-btn:hover {
  color: var(--primary-color);
}

.tab-btn.active {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

.tab-pane {
  display: none;
}

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

.news-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.news-more {
  text-align: center;
  margin-top: 32px;
}

.btn-text-large {
  font-size: 16px;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-text-large:hover {
  color: var(--primary-hover);
}

/* ========== CTA区域 ========== */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.cta-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 60px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-content {
  flex: 1;
}

.cta-title {
  font-size: 36px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
}

.cta-desc {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
}

.cta-actions {
  display: flex;
  gap: 16px;
}

.cta-actions .btn-primary-large {
  background: #ffffff;
  color: var(--primary-color);
}

.cta-actions .btn-primary-large:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.cta-actions .btn-secondary-large {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.5);
}

.cta-actions .btn-secondary-large:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
}

.cta-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cta-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  color: #ffffff;
  font-size: 16px;
  white-space: nowrap;
}

.cta-feature .iconfont {
  font-size: 24px;
}

/* ========== 响应式设计 ========== */
@media (max-width: 1200px) {
  .section-title-large { font-size: 36px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .solutions-grid { grid-template-columns: repeat(2, 1fr); }
  .advantages-grid { grid-template-columns: repeat(2, 1fr); }
  .partners-logos { grid-template-columns: repeat(6, 1fr); }
  .cert-list { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
  .products-grid { grid-template-columns: 1fr; }
  .solutions-grid { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: 1fr; }
  .advantages-grid { grid-template-columns: 1fr; }
  .partners-logos { grid-template-columns: repeat(4, 1fr); }
  .cert-list { grid-template-columns: repeat(3, 1fr); }
  .cta-card { flex-direction: column; gap: 32px; }
}
