/* ===== 首页专属样式 ===== */

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #f0f4ff 0%, #e8f0ff 40%, #eef4ff 100%);
  padding-top: 70px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(0,102,255,0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(0,229,255,0.05) 0%, transparent 50%),
    radial-gradient(circle at 60% 70%, rgba(0,102,255,0.04) 0%, transparent 40%);
  pointer-events: none;
}

.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.08;
  animation: float linear infinite;
}

@keyframes float {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 0.08; }
  90% { opacity: 0.08; }
  100% { transform: translateY(-100px) rotate(720deg); opacity: 0; }
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 80px 24px;
  position: relative;
  z-index: 1;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,102,255,0.08);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 20px;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.hero-tag .dot {
  width: 7px;
  height: 7px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-dark);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 36px;
}

.hero-btns {
  display: flex;
  gap: 14px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  background: white;
  border-radius: var(--radius-md);
  padding: 20px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  width: fit-content;
}

.stat-item {
  text-align: center;
  padding: 0 24px;
}

.stat-num {
  font-size: 30px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

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

.stat-label {
  display: block;
  font-size: 12px;
  color: var(--text-light);
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* Hero 右侧卡片 */
.hero-visual {
  position: relative;
}

.hero-card-main {
  background: white;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  position: relative;
  z-index: 2;
}

.hcard-header {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 20px;
  font-size: 13px;
  color: var(--text-light);
}

.hcard-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.hcard-dot.green { background: #2ed87a; }
.hcard-dot.yellow { background: #f5c842; }
.hcard-dot.red { background: #f56054; }

.brand-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.brand-mini {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.brand-mini:hover {
  background: rgba(0,102,255,0.06);
}

.bm-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.bm-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
}

.bm-desc {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 2px;
}

.hcard-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

.metric {
  text-align: center;
}

.metric-val {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
}

.metric-key {
  font-size: 11px;
  color: var(--text-light);
  margin-top: 2px;
}

.hero-badge-1, .hero-badge-2 {
  position: absolute;
  z-index: 3;
  animation: bounce 3s ease-in-out infinite;
}

.hero-badge-1 {
  top: -14px;
  right: 30px;
  animation-delay: 0s;
}

.hero-badge-2 {
  bottom: -14px;
  left: 20px;
  animation-delay: 1.5s;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-light);
  font-size: 12px;
  animation: fadeIn 2s ease 2s both;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, var(--primary-light));
  animation: scaleY 1.5s ease infinite;
  transform-origin: top;
}

@keyframes scaleY {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.6); opacity: 0.4; }
}

/* 业务板块 */
.section-business {
  padding: 100px 0;
  background: white;
}

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

.biz-card {
  padding: 32px;
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: var(--transition);
  cursor: pointer;
}

.biz-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0,102,255,0.2);
}

.biz-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.biz-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.biz-card p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 16px;
}

.biz-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.biz-tags li {
  background: var(--bg-light);
  color: var(--text-mid);
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 12px;
}

/* 三大品牌 */
.section-brands {
  padding: 100px 0;
  background: var(--bg-light);
}

.brands-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.brand-block {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 0;
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.brand-block:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.brand-block-left {
  padding: 40px 36px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand-block[data-color="green"] .brand-block-left { background: linear-gradient(135deg, #e8f0ff, #cce0ff); }
.brand-block[data-color="blue"] .brand-block-left { background: linear-gradient(135deg, #e3f0ff, #c8deff); }
.brand-block[data-color="purple"] .brand-block-left { background: linear-gradient(135deg, #f3e8ff, #e2ceff); }

.brand-logo-big {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  flex-shrink: 0;
}

.brand-logo-big.green { background: linear-gradient(135deg, #0066ff, #00e5ff); }
.brand-logo-big.blue { background: linear-gradient(135deg, #0550ae, #1a7fe8); }
.brand-logo-big.purple { background: linear-gradient(135deg, #7c3aed, #9b4dca); }

.brand-tag {
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 6px;
}

.brand-block[data-color="green"] .brand-tag { color: var(--primary); }
.brand-block[data-color="blue"] .brand-tag { color: #0550ae; }
.brand-block[data-color="purple"] .brand-tag { color: #7c3aed; }

.brand-info h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-dark);
}

.brand-tagline {
  font-size: 13px;
  color: var(--text-mid);
  margin-top: 4px;
}

.brand-block-right {
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-block-right > p {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 20px;
}

.brand-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.brand-features span {
  background: var(--bg-light);
  color: var(--text-mid);
  font-size: 13px;
  padding: 5px 14px;
  border-radius: 20px;
}

.btn-sm {
  padding: 9px 20px;
  font-size: 14px;
  width: fit-content;
}

/* 核心优势 */
.section-advantages {
  padding: 100px 0;
  background: white;
}

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

.adv-item {
  position: relative;
  padding: 32px;
  background: var(--bg-light);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: var(--transition);
  overflow: hidden;
}

.adv-item:hover {
  background: white;
  box-shadow: var(--shadow-md);
  border-color: rgba(0,102,255,0.2);
}

.adv-num {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 48px;
  font-weight: 900;
  color: var(--primary);
  opacity: 0.06;
  line-height: 1;
}

.adv-icon {
  font-size: 36px;
  margin-bottom: 16px;
}

.adv-item h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.adv-item p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.7;
}

/* 时间轴 */
.section-timeline {
  padding: 100px 0;
  background: var(--bg-light);
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--primary), transparent);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 48px;
  position: relative;
}

.timeline-item.left {
  flex-direction: row;
  padding-right: calc(50% + 40px);
}

.timeline-item.right {
  flex-direction: row-reverse;
  padding-left: calc(50% + 40px);
}

.timeline-year {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  white-space: nowrap;
  z-index: 2;
}

.timeline-content {
  background: white;
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  flex: 1;
}

.timeline-content h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.timeline-content p {
  font-size: 13px;
  color: var(--text-mid);
}

/* CTA */
.section-cta {
  padding: 80px 0;
  background: white;
}

.cta-box {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary), var(--primary-light));
  border-radius: var(--radius-lg);
  padding: 72px 80px;
  position: relative;
  overflow: hidden;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.cta-content h2 {
  font-size: 34px;
  font-weight: 800;
  color: white;
  margin-bottom: 16px;
}

.cta-content p {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  line-height: 1.8;
  margin-bottom: 36px;
}

.cta-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.cta-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cta-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
}

.cta-circle.c1 {
  width: 300px; height: 300px;
  right: -80px; top: -80px;
}

.cta-circle.c2 {
  width: 200px; height: 200px;
  right: 60px; bottom: -60px;
  background: rgba(255,255,255,0.04);
}

.cta-circle.c3 {
  width: 120px; height: 120px;
  right: 180px; top: 40px;
}

/* 响应式 */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 60px 24px;
  }

  .hero-visual { display: none; }
  .hero-title { font-size: 36px; }
  .business-grid { grid-template-columns: repeat(2, 1fr); }
  .advantages-grid { grid-template-columns: repeat(2, 1fr); }
  .brand-block { grid-template-columns: 1fr; }
  .brand-block-left { justify-content: flex-start; }
  .cta-box { padding: 48px 40px; }
}

@media (max-width: 768px) {
  .hero-title { font-size: 28px; }
  .hero-stats { flex-wrap: wrap; gap: 16px; padding: 16px; }
  .stat-divider { display: none; }
  .business-grid { grid-template-columns: 1fr; }
  .advantages-grid { grid-template-columns: 1fr; }
  .timeline::before { left: 20px; }
  .timeline-item.left, .timeline-item.right { flex-direction: column; padding: 0 0 0 52px; }
  .timeline-year { left: 0; transform: none; top: 0; position: relative; width: fit-content; margin-bottom: 12px; }
  .cta-box { padding: 36px 24px; }
  .cta-content h2 { font-size: 24px; }
}
