/* ===== 首页样式 ===== */

/* Hero 区 */
.hero {
  position: relative;
  padding: 80px 0 96px;
  background: linear-gradient(135deg, #f5f8ff 0%, #eaf0ff 60%, #ffffff 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(52, 104, 255, 0.18) 0%, rgba(52, 104, 255, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

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

.hero-title {
  font-size: 48px;
  line-height: 1.2;
  font-weight: 800;
  color: var(--text-1);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-2);
  margin-bottom: 32px;
  line-height: 1.7;
}

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

.hero-visual {
  display: flex;
  gap: 24px;
  justify-content: center;
  align-items: center;
}

.phone-mockup {
  position: relative;
  width: 220px;
  height: 440px;
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 6px solid #1d2129;
}

.phone-mockup:nth-child(2) {
  transform: translateY(28px);
}

.phone-mockup img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

/* 产品概览卡片 */
.product-card {
  display: flex;
  flex-direction: column;
}

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

.product-header h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-1);
}

.product-desc {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 20px;
}

.feature-list {
  list-style: none;
  margin-bottom: 24px;
  flex: 1;
}

.feature-list li {
  position: relative;
  padding: 8px 0 8px 24px;
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.6;
}

.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 16px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

/* 功能亮点卡片 */
.feature-card {
  text-align: center;
  padding: 32px 24px;
}

.feature-icon {
  font-size: 40px;
  margin-bottom: 16px;
  line-height: 1;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-1);
}

.feature-card p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
}

/* 平台覆盖卡片 */
.platform-card {
  text-align: center;
  padding: 32px 24px;
}

.platform-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 18px;
  margin-bottom: 16px;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

.platform-icon.ios {
  background: linear-gradient(135deg, #444 0%, #1d1d1f 100%);
}

.platform-icon.android {
  background: linear-gradient(135deg, #34a853 0%, #0f9d58 100%);
}

.platform-icon.harmony {
  background: linear-gradient(135deg, #0a59f7 0%, #004bd6 100%);
}

.platform-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-1);
}

.platform-card p {
  font-size: 14px;
  color: var(--text-3);
  margin-bottom: 20px;
}

/* CTA 区 */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  text-align: center;
}

.cta-section .section-title {
  color: #fff;
}

.cta-section .section-subtitle {
  color: rgba(255, 255, 255, 0.85);
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-section .btn-primary {
  background: #fff;
  color: var(--primary);
}

.cta-section .btn-primary:hover {
  background: #f0f4ff;
}

.cta-section .btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}

.cta-section .btn-outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

/* 响应式 */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-visual {
    order: -1;
  }
  .phone-mockup {
    width: 180px;
    height: 360px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 56px 0 64px;
  }
  .hero-title {
    font-size: 32px;
  }
  .hero-subtitle {
    font-size: 15px;
  }
  .phone-mockup {
    width: 150px;
    height: 300px;
    border-width: 4px;
  }
  .phone-mockup:nth-child(2) {
    transform: translateY(16px);
  }
}
