:root {
  --bg: #f5f3ee;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: rgba(255, 255, 255, 0.94);
  --text: #13233f;
  --muted: #5c6a80;
  --primary: #1a3a6b;
  --primary-dark: #0f274d;
  --accent: #c8a24a;
  --accent-dark: #a7842f;
  --border: rgba(26, 58, 107, 0.14);
  --shadow: 0 24px 80px rgba(19, 35, 63, 0.12);
  --radius-lg: 28px;
  --radius-md: 20px;
  --container: min(1120px, calc(100% - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Source Sans 3", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(200, 162, 74, 0.18), transparent 30%),
    radial-gradient(circle at top right, rgba(26, 58, 107, 0.12), transparent 26%),
    linear-gradient(180deg, #faf8f4 0%, var(--bg) 48%, #ebe7df 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.28) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.28) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.35), transparent 88%);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.page-shell {
  position: relative;
  overflow: hidden;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.glass-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  color: var(--accent-dark);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 18px 0;
  background: rgba(250, 248, 244, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.1rem;
}

.brand-mark__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(15, 39, 77, 0.28);
}

.brand-mark__text {
  font-family: "Noto Serif SC", "Songti SC", serif;
  letter-spacing: 0.04em;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(26, 58, 107, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.88);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: var(--primary);
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.header-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-weight: 500;
}

.site-nav a {
  transition: color 0.25s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--primary);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 700;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.header-cta,
.button--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 18px 34px rgba(15, 39, 77, 0.24);
}

.header-cta:hover,
.button--primary:hover,
.button--secondary:hover {
  transform: translateY(-2px);
}

.button--secondary {
  color: var(--text);
  background: var(--surface-strong);
  border: 1px solid rgba(26, 58, 107, 0.16);
}

.hero-section {
  padding: 86px 0 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  align-items: center;
  gap: 48px;
}

.hero-copy h1 {
  margin: 0;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(3.4rem, 7vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: 0.02em;
}

.hero-copy__lead,
.section-heading p,
.experience-copy p,
.site-footer p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.9;
}

.hero-copy__lead {
  max-width: 630px;
  margin: 26px 0 34px;
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding: 0;
  margin: 42px 0 0;
  list-style: none;
}

.hero-metrics li {
  min-width: 150px;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.66);
}

.hero-metrics strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.8rem;
  color: var(--primary);
}

.hero-metrics span {
  color: var(--muted);
  line-height: 1.6;
}

.hero-visual {
  position: relative;
}

.hero-visual__panel {
  position: relative;
  padding: 28px;
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(245, 241, 232, 0.82)),
    var(--surface);
}

.hero-visual__panel::before,
.hero-visual__panel::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(12px);
}

.hero-visual__panel::before {
  width: 150px;
  height: 150px;
  top: -28px;
  right: -24px;
  background: rgba(200, 162, 74, 0.22);
}

.hero-visual__panel::after {
  width: 120px;
  height: 120px;
  left: -18px;
  bottom: -14px;
  background: rgba(26, 58, 107, 0.16);
}

.panel-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 18px;
  margin-bottom: 22px;
  border-bottom: 1px solid rgba(26, 58, 107, 0.12);
  font-weight: 700;
}

.status-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  box-shadow: 0 0 0 8px rgba(200, 162, 74, 0.16);
}

.hero-app-preview {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
  padding: 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(26, 58, 107, 0.1);
}

.hero-app-preview img {
  width: 88px;
  height: 88px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 12px 28px rgba(15, 39, 77, 0.22);
}

.hero-app-preview h2 {
  margin: 0 0 8px;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 1.25rem;
}

.hero-app-preview p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.hero-stats {
  display: grid;
  gap: 12px;
}

.hero-stats article {
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(26, 58, 107, 0.1);
}

.hero-stats span,
.feature-card__index {
  color: var(--accent-dark);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-stats strong {
  display: block;
  margin-top: 8px;
  font-size: 1.05rem;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.hero-tags span {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(26, 58, 107, 0.1);
}

.features-section,
.experience-section,
.download-section {
  padding: 56px 0;
}

.section-heading {
  text-align: center;
  max-width: 760px;
}

.section-heading h2,
.experience-copy h2,
.site-footer h2 {
  margin: 0;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.2;
}

.section-heading p {
  margin: 20px auto 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 34px;
}

.feature-card {
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 60px rgba(19, 35, 63, 0.14);
}

.feature-card h3 {
  margin: 16px 0 12px;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 1.3rem;
}

.feature-card p,
.experience-list__item span {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.experience-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: 30px;
}

.experience-list {
  padding: 16px;
  border-radius: 32px;
}

.experience-list__item {
  padding: 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(26, 58, 107, 0.1);
}

.experience-list__item + .experience-list__item {
  margin-top: 12px;
}

.experience-list__item strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 34px;
}

.download-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.download-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 60px rgba(19, 35, 63, 0.14);
}

.download-card__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 14px 28px rgba(15, 39, 77, 0.22);
}

.download-card:last-child .download-card__icon {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  box-shadow: 0 14px 28px rgba(168, 132, 47, 0.24);
}

.download-card__os {
  display: block;
  margin-bottom: 8px;
  color: var(--accent-dark);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.download-card strong {
  display: block;
  margin-bottom: 10px;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 1.35rem;
}

.download-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.site-footer {
  padding: 56px 0 40px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(239, 234, 222, 0.86));
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.68);
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 28px;
  margin-top: 28px;
  padding-top: 8px;
  text-align: center;
}

.footer-meta p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.footer-meta a {
  color: var(--muted);
  transition: color 0.25s ease;
}

.footer-meta a:hover,
.footer-meta a:focus-visible {
  color: var(--primary);
}

.support-phone {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 26px;
  border-radius: 999px;
  color: #fff;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  box-shadow: 0 18px 32px rgba(168, 132, 47, 0.28);
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .hero-grid,
  .experience-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  :root {
    --container: min(100% - 32px, 1120px);
  }

  .nav-toggle {
    display: inline-block;
  }

  .header-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    display: grid;
    gap: 8px;
    padding: 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(26, 58, 107, 0.12);
    box-shadow: 0 18px 40px rgba(19, 35, 63, 0.14);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    pointer-events: none;
    transition:
      opacity 0.25s ease,
      transform 0.25s ease,
      visibility 0.25s ease;
  }

  .header-menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .site-nav {
    display: grid;
    gap: 4px;
  }

  .site-nav a,
  .header-menu .header-cta {
    width: 100%;
    min-height: 46px;
    padding: 12px 14px;
    border-radius: 12px;
    text-align: left;
  }

  .site-nav a:hover,
  .site-nav a:focus-visible {
    background: rgba(26, 58, 107, 0.06);
  }

  .header-menu .header-cta {
    justify-content: flex-start;
    margin-top: 4px;
  }

  .footer-inner,
  .hero-actions,
  .hero-metrics {
    flex-direction: column;
    align-items: stretch;
  }

  .features-grid,
  .download-grid {
    grid-template-columns: 1fr;
  }

  .hero-section {
    padding-top: 64px;
  }

  .footer-inner {
    padding: 28px 24px;
  }

  .support-phone {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .hero-copy h1 {
    font-size: 3rem;
  }

  .hero-copy__lead {
    font-size: 1rem;
  }

  .hero-app-preview {
    flex-direction: column;
    align-items: flex-start;
  }

  .feature-card,
  .hero-visual__panel,
  .footer-inner {
    border-radius: 24px;
  }
}
