/*
 * pages/product.css — 极光趣动官网
 * 用途：产品页专属样式（Hero、功能特性、下载、合规链接）
 * 依赖：base.css, components.css, layout.css
 */

/* ========== SECTION: 产品 Hero ========== */

.product-hero {
  position: relative;
  padding: var(--space-12) var(--space-3) var(--space-8);
  text-align: center;
  overflow: hidden;
}

.product-hero__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.product-hero__glow::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse at center,
    rgba(124, 58, 237, 0.20) 0%,
    rgba(6, 182, 212, 0.08) 50%,
    transparent 70%);
  filter: blur(40px);
}

.product-hero__content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin-inline: auto;
}

.product-hero__eyebrow {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-aurora-2);
  margin-bottom: var(--space-2);
}

.product-hero__icon {
  width: 100px;
  height: 100px;
  border-radius: 24px;
  margin-inline: auto;
  margin-bottom: var(--space-4);
  box-shadow: var(--shadow-glow);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-hero__icon [data-lucide] {
  width: 48px;
  height: 48px;
  color: var(--color-aurora-2);
  stroke-width: 1.5;
}

.product-hero__title {
  font-size: var(--text-5xl);
  font-weight: 800;
  color: var(--color-text);
  line-height: var(--leading-tight);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-3);
}

.product-hero__subtitle {
  font-size: var(--text-xl);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-6);
  max-width: 520px;
  margin-inline: auto;
  text-wrap: balance;
}

.product-hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  flex-wrap: wrap;
}

/* ========== SECTION: 功能特性网格 ========== */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

.feature-card {
  background: var(--color-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  transition: transform var(--transition-base),
              box-shadow var(--transition-base),
              border-color var(--transition-base);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: var(--color-border-hover);
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--gradient-aurora-bg);
  border: 1px solid rgba(124, 58, 237, 0.20);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-3);
}

.feature-card__icon [data-lucide] {
  width: 24px;
  height: 24px;
  color: var(--color-aurora-1);
  stroke-width: 1.5;
}

.feature-card__title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
}

.feature-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-normal);
}

/* ========== SECTION: 下载区 ========== */

.download-section {
  text-align: center;
  padding: var(--space-12) var(--space-3);
  background: var(--color-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
}

.download-section__title {
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.download-section__subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 460px;
  margin-inline: auto;
  margin-bottom: var(--space-6);
}

.download-section__badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.download-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 14px var(--space-4);
  background: var(--color-glass);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  color: var(--color-text-muted);
  font-size: var(--text-base);
  font-weight: 500;
  cursor: not-allowed;
  opacity: 0.65;
  transition: border-color var(--transition-fast);
}

.download-badge [data-lucide] {
  width: 20px;
  height: 20px;
  stroke-width: 1.5;
  flex-shrink: 0;
}

/* ========== SECTION: 合规信息 ========== */

.compliance-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  padding: var(--space-6) var(--space-3);
  border-top: 1px solid var(--color-border);
}

.compliance-bar__title {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-muted);
}

.compliance-bar__link {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  transition: color var(--transition-fast),
              border-color var(--transition-fast),
              background var(--transition-fast);
}

.compliance-bar__link:hover {
  color: var(--color-text);
  border-color: var(--color-border-hover);
  background: var(--color-glass);
}

/* ========== 响应式 ========== */

@media (max-width: 1023px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .product-hero__title {
    font-size: var(--text-4xl);
  }

  .product-hero__subtitle {
    font-size: var(--text-base);
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .download-section__title {
    font-size: var(--text-2xl);
  }

  .compliance-bar {
    gap: var(--space-2);
  }
}
