:root {
  --theme: #4e86ff;
  --theme-deep: #3a6fd6;
  --theme-panel: #4e86ff;
  --theme-panel-soft: #5b90ff;
  --text-primary: #1b2430;
  --text-secondary: #526070;
  --text-muted: #8a939c;
  --text-on-blue: #ffffff;
  --line: #e6ebf2;
  --page-bg: #f7f9fc;
  --surface: #ffffff;
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

html {
  height: 100%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body.page--split {
  position: relative;
  min-height: 100%;
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0.01em;
  color: var(--text-primary);
  overflow-x: hidden;
  background: var(--page-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.header,
.layout,
.copyright {
  position: relative;
  z-index: 1;
}

/* —— Header: brand mark + dual-line company + solid CTA —— */
.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 0.04rem 0.16rem rgba(30, 60, 120, 0.05);
  animation: fade-down 0.45s ease-out both;
}

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.1rem 0.24rem;
  min-height: 0.6rem;
}

.company {
  display: flex;
  align-items: center;
  min-width: 0;
}

.company__text {
  display: flex;
  flex-direction: column;
  gap: 0.02rem;
  min-width: 0;
}

.company__brand {
  font-size: 0.16rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.06em;
  color: var(--text-primary);
}

.company__name {
  font-size: 0.11rem;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0.01em;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.16rem;
  flex-shrink: 0;
}

.nav__item {
  padding: 0.04rem 0.08rem;
  font-size: 0.14rem;
  color: var(--text-secondary);
}

.nav__item--active {
  color: var(--theme);
  font-weight: 600;
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.04rem;
  padding: 0.07rem 0.18rem;
  border-radius: 0.06rem;
  font-size: 0.13rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #ffffff;
  background: var(--theme);
  box-shadow: 0 0.04rem 0.12rem rgba(78, 134, 255, 0.28);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.nav__cta:hover {
  background: var(--theme-deep);
  transform: translateY(-0.01rem);
  box-shadow: 0 0.06rem 0.16rem rgba(78, 134, 255, 0.36);
}

/* —— Split magazine layout —— */
.layout--split {
  display: flex;
  align-items: stretch;
  min-height: calc(100vh - 0.7rem);
}

.visual-col {
  flex: 0 0 42%;
  width: 42%;
  background:
    linear-gradient(165deg, var(--theme-panel-soft) 0%, var(--theme-panel) 48%, var(--theme-deep) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.36rem 0.24rem;
  align-self: stretch;
  animation: fade-in 0.6s ease-out both;
}

.visual-col__inner {
  width: 72%;
  max-width: 3.2rem;
  position: sticky;
  top: 1rem;
}

.phonePic {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.16rem;
  filter: drop-shadow(0 0.16rem 0.36rem rgba(20, 50, 120, 0.28));
}

.content-col {
  flex: 1 1 auto;
  min-width: 0;
  background: var(--surface);
  padding: 0.24rem 0.4rem 0.48rem;
  border-left: 1px solid var(--line);
}

/* —— Hero text block —— */
.hero {
  margin-bottom: 0.24rem;
  padding-bottom: 0.2rem;
  border-bottom: 1px solid var(--line);
  animation: fade-up 0.55s ease-out both;
}

.appName {
  margin-bottom: 0.08rem;
  font-size: 0.44rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.04em;
  color: var(--text-primary);
}

.appDesc {
  font-size: 0.18rem;
  line-height: 1.45;
  color: var(--text-secondary);
}

.appDesc + .appDesc {
  margin-bottom: 0.16rem;
}

.download-link {
  display: inline-block;
}

.download {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.9rem;
  padding: 0.12rem 0.3rem;
  font-size: 0.16rem;
  letter-spacing: 0.04em;
  text-align: center;
  color: var(--text-on-blue);
  background: var(--theme);
  border: 1px solid var(--theme);
  overflow: hidden;
  transition: background 0.2s ease, transform 0.25s ease, box-shadow 0.25s ease;
  animation: download-pulse 2.4s ease-in-out infinite;
}

.download::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 55%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg);
  pointer-events: none;
}

.download-link:hover .download,
.download:hover {
  background: var(--theme-deep);
  border-color: var(--theme-deep);
  transform: translateY(-0.04rem) scale(1.03);
  box-shadow: 0 0.12rem 0.32rem rgba(78, 134, 255, 0.4);
  animation: none;
}

.download-link:hover .download::after,
.download:hover::after {
  animation: download-shine 0.75s ease;
}

/* —— Compact feature rows —— */
.features {
  margin-bottom: 0.4rem;
}

.section-title {
  margin-bottom: 0.2rem;
  font-size: 0.22rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-primary);
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.item {
  display: flex;
  align-items: center;
  gap: 0.18rem;
  padding: 0.18rem 0;
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateX(0.14rem);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.item:last-child {
  border-bottom: none;
}

.item.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.item__media {
  flex: 0 0 0.72rem;
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 0.14rem;
  overflow: hidden;
}

.item__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.14rem;
}

.function-desc h3 {
  margin-bottom: 0.02rem;
  font-size: 0.2rem;
  font-weight: 600;
  color: var(--text-primary);
}

.function-desc p {
  font-size: 0.15rem;
  color: var(--text-secondary);
}

/* —— Contact —— */
.contact {
  padding-top: 0.28rem;
  border-top: 1px solid var(--line);
  opacity: 0;
  transform: translateY(0.12rem);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.contact.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.contact-title {
  margin-bottom: 0.14rem;
  font-size: 0.18rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-primary);
}

.contact-line {
  display: flex;
  gap: 0.12rem;
  margin-bottom: 0.08rem;
  font-size: 0.14rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

.contact-line span {
  flex: 0 0 auto;
  color: var(--theme);
  font-weight: 500;
}

.contact-line em {
  font-style: normal;
  color: var(--text-secondary);
}

/* —— Footer —— */
.copyright {
  background: #eef2f8;
  border-top: 1px solid var(--line);
}

.copyright-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.12rem 0.28rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.22rem 0.24rem;
  font-size: 0.12rem;
  color: var(--text-muted);
  text-align: center;
}

.copyright a {
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.copyright a:hover {
  color: var(--theme);
}

.beian-link {
  display: inline-flex;
  align-items: center;
  gap: 0.06rem;
}

.copyright-img {
  width: 0.14rem;
  height: 0.14rem;
  object-fit: contain;
  border-radius: 0.04rem;
}

@keyframes download-pulse {
  0%,
  100% {
    transform: translateY(0) scale(1);
    box-shadow: 0 0.04rem 0.12rem rgba(78, 134, 255, 0.2);
  }
  50% {
    transform: translateY(-0.02rem) scale(1.02);
    box-shadow: 0 0.1rem 0.28rem rgba(78, 134, 255, 0.38);
  }
}

@keyframes download-shine {
  from {
    left: -120%;
  }
  to {
    left: 140%;
  }
}

@keyframes fade-down {
  from {
    opacity: 0;
    transform: translateY(-0.1rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(0.14rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .header__inner {
    padding: 0.08rem 0.16rem;
    min-height: 0.54rem;
  }

  .company__brand {
    font-size: 0.14rem;
  }

  .company__name {
    font-size: 0.1rem;
    max-width: 2.8rem;
  }

  .nav {
    gap: 0.08rem;
  }

  .nav__item {
    font-size: 0.12rem;
    padding: 0.03rem 0.04rem;
  }

  .nav__cta {
    padding: 0.06rem 0.12rem;
    font-size: 0.12rem;
  }

  .layout--split {
    flex-direction: column;
    min-height: auto;
  }

  .visual-col {
    flex: none;
    width: 100%;
    padding: 0.2rem 0.2rem 0.18rem;
    align-self: auto;
  }

  .visual-col__inner {
    width: 42%;
    max-width: 2.2rem;
    margin: 0 auto;
    position: static;
    top: auto;
  }

  .content-col {
    padding: 0.2rem 0.2rem 0.4rem;
    border-left: none;
    border-top: 1px solid var(--line);
  }

  .hero {
    margin-bottom: 0.2rem;
    padding-bottom: 0.16rem;
  }

  .appName {
    font-size: 0.38rem;
  }

  .appDesc {
    font-size: 0.18rem;
  }

  .download {
    font-size: 0.15rem;
    padding: 0.11rem 0.26rem;
  }

  .section-title {
    font-size: 0.2rem;
  }

  .item {
    gap: 0.14rem;
    padding: 0.16rem 0;
  }

  .item__media {
    flex: 0 0 0.64rem;
    width: 0.64rem;
    height: 0.64rem;
  }

  .function-desc h3 {
    font-size: 0.18rem;
  }

  .function-desc p {
    font-size: 0.14rem;
  }

  .contact-line {
    flex-direction: column;
    gap: 0.02rem;
    font-size: 0.13rem;
  }

  .copyright-inner {
    flex-direction: column;
    gap: 0.08rem;
    padding: 0.2rem 0.16rem;
  }
}
