/*
  Typography Styles
  Headings, paragraphs, links
*/

/* ===== Hero Title ===== */
.hero-title {
  font-size: var(--font-size-hero);
  font-weight: var(--font-weight-bold);
  line-height: 0.8;
  color: var(--color-text-primary);
  letter-spacing: -0.02em;
  margin-bottom: var(--spacing-md);
  text-align: left;
}

.hero-title .line-left,
.hero-title .line-right {
  display: block;
  margin: 0;
  padding: 0;
}

.hero-title .line-center {
  display: block;
  margin: 0;
  padding: 0;
}

.hero-title .line-left {
  text-align: left;
}

.hero-title .line-right {
  text-align: right;
}

/* ===== Private 渐变动画效果 ===== */
.hero-title .line-center {
  text-align: left;
  padding: 0.1em 0.05em;
  margin: -0.1em -0.05em;
  background: linear-gradient(
    90deg,
    rgba(0, 122, 255, 0.7),
    rgba(88, 86, 214, 0.7),
    rgba(255, 45, 85, 0.7),
    rgba(255, 149, 0, 0.7),
    rgba(0, 122, 255, 0.7)
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: hue-shift 8s ease-in-out infinite;
}

@keyframes hue-shift {
  0%, 100% {
    filter: hue-rotate(0deg);
  }
  50% {
    filter: hue-rotate(180deg);
  }
}

/* 无障碍：禁用动画 */
@media (prefers-reduced-motion: reduce) {
  .hero-title .line-center {
    animation: none;
    background: none;
    -webkit-text-fill-color: var(--color-text-primary);
    color: var(--color-text-primary);
  }
}

/* ===== Subtitle ===== */
.subtitle {
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-normal);
  line-height: var(--line-height-normal);
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== Section Text (Philosophy & Product) ===== */
.section-text {
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-normal);
  line-height: var(--line-height-relaxed);
  color: var(--color-text-primary);
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

/* ===== App Store Badge ===== */
.app-store-badge {
  display: inline-block;
  cursor: pointer;
}

.app-store-badge img {
  display: block;
  width: 120px;
  height: auto;
}

/* ===== System Requirements ===== */
.system-requirements {
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-normal);
  color: var(--color-text-secondary);
  line-height: var(--line-height-normal);
  margin-top: var(--spacing-sm);
}

/* ===== Footer Text ===== */
.footer p {
  font-size: var(--font-size-small);
  color: var(--color-text-secondary);
  line-height: var(--line-height-normal);
}

/* ===== Text Selection ===== */
::selection {
  background-color: var(--color-accent);
  color: var(--color-bg);
}
