:root {
  --theme: #33c4e3;
  --theme-light: #7ad9ee;
  --theme-deep: #1a9bb8;
  --theme-dark: #0d5f73;
  --banner-ink: #ffffff;
  --banner-muted: rgba(255, 255, 255, 0.88);
  --text-primary: #12262e;
  --text-secondary: #4a5f68;
  --text-muted: #7a8b93;
  --surface: #ffffff;
  --line: rgba(51, 196, 227, 0.18);
  --shadow: 0 0.1rem 0.28rem rgba(26, 155, 184, 0.12);
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --radius: 0.12rem;
}

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

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

ul {
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
}

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

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

.page-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 60% 40% at 80% 90%, rgba(51, 196, 227, 0.06), transparent 55%),
    radial-gradient(ellipse 50% 35% at 10% 70%, rgba(26, 155, 184, 0.05), transparent 50%);
}

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

/* —— Sticky translucent header over hero —— */
.header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(13, 95, 115, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  animation: fade-down 0.5s ease-out both;
}

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

.company {
  display: flex;
  align-items: center;
  color: #fff;
}

.company__name {
  font-size: 0.22rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #fff;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.28rem;
  font-size: 0.18rem;
  color: rgba(255, 255, 255, 0.75);
}

.nav span.active {
  color: #fff;
  font-weight: 600;
}

.nav a {
  padding: 0.06rem 0.18rem;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.nav a:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #fff;
}

/* —— Full-width immersive centered hero —— */
.banner {
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, #1a9bb8 0%, #33c4e3 42%, #5ed4ea 78%, #a8e8f4 100%);
  animation: fade-in 0.6s ease-out both;
}

.banner__mesh {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.55;
  background:
    radial-gradient(ellipse 45% 40% at 20% 30%, rgba(255, 255, 255, 0.28), transparent 60%),
    radial-gradient(ellipse 40% 35% at 85% 20%, rgba(255, 255, 255, 0.18), transparent 55%),
    radial-gradient(ellipse 50% 45% at 60% 80%, rgba(13, 95, 115, 0.18), transparent 60%);
}

.banner__blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(0.04rem);
  animation: blob-drift 12s ease-in-out infinite;
}

.banner__blob--a {
  width: 3.2rem;
  height: 3.2rem;
  top: -0.8rem;
  left: -0.6rem;
  background: rgba(255, 255, 255, 0.16);
}

.banner__blob--b {
  width: 2.4rem;
  height: 2.4rem;
  top: 1.2rem;
  right: -0.4rem;
  background: rgba(13, 95, 115, 0.2);
  animation-delay: -4s;
}

.banner__blob--c {
  width: 2rem;
  height: 2rem;
  bottom: 1.6rem;
  left: 30%;
  background: rgba(255, 255, 255, 0.12);
  animation-delay: -7s;
}

.appContent {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 0.72rem 0.28rem 0;
  text-align: center;
}

.banner-desc {
  width: 100%;
  animation: slide-up 0.65s ease-out 0.08s both;
}

.banner-tag {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.06rem;
  margin-bottom: 0.2rem;
}

.banner-tag__en {
  font-size: 0.16rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.78);
}

.banner-tag__zh {
  font-size: 0.18rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.92);
}

.appName {
  margin-bottom: 0.16rem;
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.08em;
  color: var(--banner-ink);
  text-shadow: 0 0.04rem 0.2rem rgba(13, 95, 115, 0.25);
}

.appDesc {
  font-size: 0.24rem;
  line-height: 1.55;
  color: var(--banner-muted);
}

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

.download-link {
  display: inline-block;
  margin-bottom: 0.36rem;
}

.download {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4rem;
  padding: 0.14rem 0.4rem;
  font-size: 0.22rem;
  font-weight: 600;
  color: var(--theme-deep);
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 0.1rem 0.32rem rgba(13, 95, 115, 0.22);
  overflow: hidden;
  transition: 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.75), transparent);
  transform: skewX(-20deg);
  pointer-events: none;
}

.download-link:hover .download {
  transform: translateY(-0.04rem) scale(1.03);
  box-shadow: 0 0.16rem 0.42rem rgba(13, 95, 115, 0.34);
  animation: none;
}

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

/* Phone floats over white section */
.phonePic-wrap {
  position: relative;
  z-index: 2;
  width: 3.2rem;
  max-width: 55%;
  margin-bottom: -1.2rem;
  animation: slide-up 0.7s ease-out 0.2s both;
}

.phonePic-glow {
  position: absolute;
  left: 50%;
  top: 55%;
  width: 70%;
  height: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255, 255, 255, 0.45), transparent 70%);
  pointer-events: none;
}

.phonePic {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  border-radius: 0.16rem;
  filter: drop-shadow(0 0.18rem 0.36rem rgba(13, 95, 115, 0.35));
}

/* —— Features: dense 2×2 horizontal mini cards —— */
.appInfo {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto;
  padding: 1.6rem 0.28rem 0.8rem;
  background: transparent;
}

.section-head {
  margin-bottom: 0.36rem;
  text-align: center;
}

.section-title {
  display: inline-block;
  font-size: 0.36rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-primary);
}

.section-title::after {
  content: "";
  display: block;
  width: 0.48rem;
  height: 0.04rem;
  margin: 0.12rem auto 0;
  border-radius: 999px;
  background: var(--theme);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.18rem;
}

.item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.16rem;
  padding: 0.18rem 0.2rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(0.2rem);
  transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.25s ease;
}

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

.item:nth-child(1).is-visible {
  transition-delay: 0.05s;
}

.item:nth-child(2).is-visible {
  transition-delay: 0.12s;
}

.item:nth-child(3).is-visible {
  transition-delay: 0.19s;
}

.item:nth-child(4).is-visible {
  transition-delay: 0.26s;
}

.item:hover {
  box-shadow: 0 0.14rem 0.36rem rgba(26, 155, 184, 0.16);
}

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

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

.function-desc {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.function-desc h2 {
  margin-bottom: 0.04rem;
  font-size: 0.22rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
}

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

/* Contact kept for commented markup */
.contact {
  margin-top: 0.48rem;
  opacity: 0;
  transform: translateY(0.16rem);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

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

.contact-panel {
  padding: 0.28rem 0.32rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-title {
  margin-bottom: 0.16rem;
  font-size: 0.26rem;
  font-weight: 700;
  color: var(--theme-deep);
}

.contact-row {
  display: flex;
  gap: 0.16rem;
  margin-bottom: 0.1rem;
  font-size: 0.18rem;
  line-height: 1.5;
}

.contact-row span {
  flex-shrink: 0;
  min-width: 0.6rem;
  color: var(--text-muted);
}

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

/* —— Footer —— */
.copyright {
  padding: 0.28rem 0.24rem 0.36rem;
  background: #0d5f73;
  color: rgba(255, 255, 255, 0.78);
}

.copyright-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.16rem 0.28rem;
  max-width: 1000px;
  margin: 0 auto;
  font-size: 0.16rem;
  text-align: center;
}

.beian-link {
  display: inline-flex;
  align-items: center;
  gap: 0.06rem;
  color: rgba(255, 255, 255, 0.88);
  transition: color 0.2s ease;
}

.beian-link:hover {
  color: #fff;
}

.copyright-img {
  width: 0.2rem;
  height: 0.2rem;
  border-radius: 0.04rem;
}

@keyframes download-pulse {
  0%,
  100% {
    transform: translateY(0) scale(1);
    box-shadow: 0 0.1rem 0.32rem rgba(13, 95, 115, 0.22);
  }
  50% {
    transform: translateY(-0.02rem) scale(1.02);
    box-shadow: 0 0.14rem 0.4rem rgba(13, 95, 115, 0.34);
  }
}

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

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

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

@keyframes slide-up {
  from {
    opacity: 0;
    transform: translateY(0.28rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes blob-drift {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(0.18rem, -0.12rem) scale(1.05);
  }
}

@media (max-width: 768px) {
  .header__inner {
    padding: 0.14rem 0.2rem;
  }

  .company__name {
    font-size: 0.18rem;
    max-width: 3.2rem;
    white-space: normal;
    line-height: 1.3;
  }

  .nav {
    gap: 0.16rem;
    font-size: 0.16rem;
  }

  .appContent {
    padding: 0.56rem 0.2rem 0;
  }

  .appName {
    font-size: 0.48rem;
  }

  .appDesc {
    font-size: 0.22rem;
  }

  .phonePic-wrap {
    width: 2.6rem;
    max-width: 70%;
    margin-bottom: -0.9rem;
  }

  .appInfo {
    padding: 1.3rem 0.2rem 0.64rem;
  }

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

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 0.14rem;
  }

  .item {
    padding: 0.16rem 0.18rem;
  }

  .item__media {
    width: 0.96rem;
  }

  .function-desc h2 {
    font-size: 0.2rem;
  }

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

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