:root {
  --theme: #00a7ff;
  --theme-soft: #e8f6ff;
  --theme-zebra: #f3f9fd;
  --text-primary: #1a1a1a;
  --text-secondary: #4a5560;
  --text-muted: #8a939c;
  --line: #e5e8eb;
  --page-bg: #ffffff;
  --footer-bg: #f2f3f5;
  --font-sans: "Helvetica Neue", "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--swiss {
  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: swiss bar + mark + outline CTA —— */
.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  animation: fade-down 0.45s ease-out both;
}

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.12rem 0.28rem;
  min-height: 0.56rem;
}

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

.company__name {
  font-size: 0.15rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

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

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

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

.nav__item--active::after {
  content: "";
  position: absolute;
  left: 0.06rem;
  right: 0.06rem;
  bottom: 0;
  height: 2px;
  background: var(--theme);
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.06rem;
  padding: 0.06rem 0.16rem;
  font-size: 0.13rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--theme);
  border: 1px solid var(--theme);
  transition: background 0.2s ease, color 0.2s ease;
}

.nav__cta:hover {
  color: #ffffff;
  background: var(--theme);
}

/* —— Hero: text-first, light ground, small phone —— */
.hero {
  background: linear-gradient(180deg, #f7fbfe 0%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
}

.hero__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.32rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.28rem 0.28rem 0.32rem;
}

.hero__copy {
  flex: 1 1 auto;
  max-width: 4.2rem;
  animation: fade-up 0.55s ease-out both;
}

.hero__rule {
  display: block;
  width: 0.48rem;
  height: 1px;
  margin-bottom: 0.12rem;
  background: var(--theme);
}

.appName {
  margin-bottom: 0.1rem;
  font-size: 0.48rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: var(--text-primary);
}

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

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

.download-link {
  display: inline-block;
  margin-top: 0.08rem;
}

.download {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.8rem;
  padding: 0.12rem 0.28rem;
  font-size: 0.16rem;
  letter-spacing: 0.06em;
  text-align: center;
  color: var(--theme);
  background: transparent;
  border: 1px solid var(--theme);
  overflow: hidden;
  transition: background 0.2s ease, color 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(0, 167, 255, 0.28), transparent);
  transform: skewX(-20deg);
  pointer-events: none;
}

.download-link:hover .download,
.download:hover {
  color: #ffffff;
  background: var(--theme);
  transform: translateY(-0.03rem) scale(1.03);
  box-shadow: 0 0.1rem 0.28rem rgba(0, 167, 255, 0.32);
  animation: none;
}

.download-link:hover .download::after,
.download:hover::after {
  animation: download-shine 0.75s ease;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
}

.hero__visual {
  flex: 0 0 36%;
  width: 36%;
  max-width: 2.8rem;
  animation: fade-in 0.7s ease-out 0.12s both;
}

.phonePic {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.16rem;
}

/* —— Features: numbered zebra rows —— */
.features {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.32rem 0.28rem 0.16rem;
}

.section-head {
  margin-bottom: 0.28rem;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 0.12rem;
  font-size: 0.28rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text-primary);
}

.section-title::before {
  content: "";
  display: block;
  width: 0.06rem;
  height: 0.28rem;
  background: var(--theme);
}

.feature-list {
  border-top: 1px solid var(--line);
}

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

.item:nth-child(odd) {
  background: #ffffff;
}

.item:nth-child(even) {
  background: var(--theme-zebra);
}

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

.feature-index {
  flex: 0 0 auto;
  min-width: 0.36rem;
  font-size: 0.14rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--theme);
}

.item__media {
  flex: 0 0 24%;
  width: 24%;
  max-width: 1.6rem;
  border-radius: 0.14rem;
  overflow: hidden;
}

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

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

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

/* —— Contact: minimal —— */
.contact {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.56rem 0.36rem 0.72rem;
  opacity: 0;
  transform: translateY(0.16rem);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

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

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

.contact-line {
  font-size: 0.15rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* —— Footer —— */
.copyright {
  background: var(--footer-bg);
  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: 1100px;
  margin: 0 auto;
  padding: 0.22rem 0.24rem;
  font-size: 0.12rem;
  color: var(--text-muted);
  text-align: center;
}

.beian-link {
  display: inline-flex;
  align-items: center;
  gap: 0.06rem;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.beian-link:hover {
  color: var(--theme);
}

.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 0 rgba(0, 167, 255, 0);
  }
  50% {
    transform: translateY(-0.02rem) scale(1.02);
    box-shadow: 0 0.08rem 0.22rem rgba(0, 167, 255, 0.22);
  }
}

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

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

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

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

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

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

  to {
    opacity: 1;
  }
}

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

  .company__name {
    font-size: 0.12rem;
    max-width: 3.2rem;
  }

  .nav {
    gap: 0.1rem;
  }

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

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

  .hero__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    padding: 0.2rem 0.2rem 0.24rem;
  }

  .hero__copy {
    max-width: none;
  }

  .appName {
    font-size: 0.4rem;
  }

  .appDesc {
    font-size: 0.18rem;
  }

  .hero__visual {
    flex: none;
    width: 52%;
    max-width: 2.4rem;
    align-self: center;
  }

  .features {
    padding: 0.4rem 0 0.1rem;
  }

  .section-head {
    padding: 0 0.24rem;
  }

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

  .item {
    gap: 0.14rem;
    padding: 0.18rem 0.2rem;
  }

  .feature-index {
    min-width: 0.28rem;
    font-size: 0.12rem;
  }

  .item__media {
    flex: 0 0 22%;
    width: 22%;
  }

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

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

  .contact {
    padding: 0.4rem 0.24rem 0.56rem;
  }

  .contact-title {
    font-size: 0.18rem;
  }

  .contact-line {
    font-size: 0.14rem;
  }

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