:root {
  --bg: #fafcfe;
  --bg-deep: #f3f8fc;
  --ink: #243542;
  --ink-soft: #5b7384;
  --brand: #1a7a8a;
  --accent: #2dd4bf;
  --accent-2: #38bdf8;
  --accent-deep: #14b8a6;
  --line: rgba(36, 90, 110, 0.1);
  --surface: rgba(255, 255, 255, 0.88);
  --radius: 16px;
  --shadow: 0 16px 40px rgba(56, 140, 170, 0.1);
  --font-cn: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-en: "Outfit", "Noto Sans SC", sans-serif;
  --container: min(1120px, calc(100% - 2.5rem));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-cn);
  font-weight: 400;
  line-height: 1.65;
  background: var(--bg);
  overflow-x: hidden;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(1200px 600px at 12% -10%, rgba(45, 212, 191, 0.18), transparent 60%),
    radial-gradient(900px 500px at 90% 8%, rgba(56, 189, 248, 0.16), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, #f7fbfe 40%, #f2f9fc 100%);
}

.page-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(56, 140, 170, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 140, 170, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 75%);
}

.container {
  width: var(--container);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, 0.94);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.logo-text {
  font-size: 1.05rem;
}

.nav {
  display: flex;
  gap: 1.75rem;
}

.nav a {
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--brand);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.25rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-sm {
  padding: 0.5rem 0.95rem;
  background: linear-gradient(135deg, #2dd4bf, #38bdf8);
  color: #fff;
  font-size: 0.875rem;
}

.btn-primary {
  background: linear-gradient(135deg, #2dd4bf 0%, #14b8a6 45%, #38bdf8 100%);
  color: #fff;
  box-shadow: 0 10px 28px rgba(45, 212, 191, 0.32);
}

.btn-primary:hover {
  filter: brightness(1.05);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(45, 160, 180, 0.28);
  color: var(--brand);
}

.btn-ghost:hover {
  border-color: var(--accent-deep);
  background: #fff;
}

.btn-lg {
  padding: 0.95rem 1.8rem;
  font-size: 1.05rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: min(100vh, 920px);
  display: grid;
  align-items: end;
  padding: 5.5rem 0 4.5rem;
  overflow: hidden;
}

.hero-visual {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 70% 40%, rgba(255, 255, 255, 0.55), transparent 70%);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  animation: floatOrb 8s ease-in-out infinite;
}

.hero-orb-a {
  width: 280px;
  height: 280px;
  right: 18%;
  top: 12%;
  background: rgba(45, 212, 191, 0.28);
}

.hero-orb-b {
  width: 220px;
  height: 220px;
  right: 8%;
  top: 48%;
  background: rgba(125, 211, 252, 0.35);
  animation-delay: -3s;
}

.hero-product {
  position: absolute;
  right: max(2%, calc(50% - 560px));
  top: 12%;
  width: min(640px, 58vw);
  opacity: 0;
  transform: translateY(28px) scale(0.98);
  animation: heroIn 1s cubic-bezier(0.22, 1, 0.36, 1) 0.15s forwards,
    floatProduct 7s ease-in-out 1.2s infinite;
}

.progress-fill {
  transform-origin: left center;
  animation: progressPulse 2.8s ease-in-out infinite;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 560px;
  padding-bottom: 1rem;
  opacity: 0;
  transform: translateY(24px);
  animation: heroIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.brand-hero {
  margin: 0 0 0.85rem;
  font-family: var(--font-cn);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0.04em;
  color: var(--brand);
  background: linear-gradient(120deg, #1a7a8a 15%, #2dd4bf 55%, #38bdf8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
}

.hero-lead {
  margin: 0 0 1.75rem;
  max-width: 34em;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* Trust */
.trust {
  padding: 3.5rem 0 2rem;
}

.trust-inner {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-label {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
}

.trust-num {
  margin: 0.35rem 0 0.75rem;
  font-family: var(--font-en);
  font-size: clamp(2.8rem, 7vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--brand);
  line-height: 1;
}

.trust-num .plus {
  margin-left: 0.1em;
  color: var(--accent);
}

.trust-desc {
  margin: 0;
  color: var(--ink-soft);
}

/* Sections */
.section-head {
  max-width: 36rem;
  margin-bottom: 3rem;
}

.section-head h2,
.safety h2,
.download h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1.25;
}

.section-head p,
.safety p,
.download p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.features {
  padding: 4.5rem 0 2rem;
}

.feature-list {
  display: grid;
  gap: 4.5rem;
}

.feature-row {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.feature-row.reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.feature-row.reverse .feature-copy {
  order: 2;
}

.feature-row.reverse .feature-visual {
  order: 1;
}

.feature-copy h3 {
  margin: 0 0 0.85rem;
  font-size: 1.55rem;
  font-weight: 800;
}

.feature-copy > p {
  margin: 0 0 1.1rem;
  color: var(--ink-soft);
}

.feature-copy ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.feature-copy li {
  position: relative;
  padding-left: 1.15rem;
  color: var(--ink);
  font-weight: 500;
}

.feature-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.feature-visual {
  min-height: 260px;
  border-radius: calc(var(--radius) + 4px);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(125, 211, 252, 0.45);
  box-shadow: var(--shadow);
}

.feature-visual-a {
  background:
    linear-gradient(160deg, #e6fffb 0%, #ccfbf1 45%, #e0f2fe 100%);
}

.feature-visual-b {
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.7), transparent 45%),
    linear-gradient(145deg, #f0fdfa, #e0f2fe 60%, #ecfeff);
}

.feature-visual-c {
  background:
    linear-gradient(180deg, #ffffff, #f0f9ff);
}

.feature-visual-d {
  background:
    linear-gradient(135deg, #ccfbf1, #bae6fd);
}

.feature-visual-e {
  background:
    linear-gradient(160deg, #ffffff, #f0fdfa);
}

.viz-stack {
  display: grid;
  gap: 1rem;
  width: min(240px, 70%);
}

.viz-stack span {
  display: block;
  padding: 1rem 1.15rem;
  border-radius: 12px;
  font-family: var(--font-en);
  font-weight: 700;
  color: var(--brand);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(45, 180, 190, 0.22);
  backdrop-filter: blur(6px);
}

.viz-stack span:last-child {
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.35), rgba(56, 189, 248, 0.35));
  color: #0f766e;
  transform: scale(0.94);
  margin-left: 1.25rem;
}

.viz-pulse {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: radial-gradient(circle, #5eead4 0%, transparent 70%);
  position: relative;
  animation: pulseRing 2.4s ease-out infinite;
}

.viz-pulse::before {
  content: "";
  position: absolute;
  inset: 22px;
  border-radius: 50%;
  background: #2dd4bf;
}

.feature-visual-b p {
  position: absolute;
  bottom: 1.5rem;
  margin: 0;
  font-weight: 700;
  color: var(--brand);
}

.id-frame {
  width: 132px;
  height: 168px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #cbd5e1;
  box-shadow: 0 12px 30px rgba(15, 39, 64, 0.12);
  display: grid;
  place-items: end center;
  overflow: hidden;
}

.id-face {
  width: 78px;
  height: 110px;
  border-radius: 40px 40px 8px 8px;
  background:
    radial-gradient(circle at 50% 28%, #fde68a 0 18px, transparent 19px),
    linear-gradient(180deg, transparent 36%, #5eead4 36% 100%),
    #fed7aa;
  margin-bottom: 10px;
}

.batch-grid {
  display: grid;
  grid-template-columns: repeat(2, 72px);
  gap: 14px;
}

.batch-grid i {
  display: block;
  width: 72px;
  height: 72px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(14, 165, 180, 0.2);
  position: relative;
}

.batch-grid i::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 6px;
  background: linear-gradient(135deg, #5eead4, #7dd3fc);
}

.preview-lines {
  width: min(280px, 75%);
  display: grid;
  gap: 14px;
}

.preview-lines span {
  display: block;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, #a5f3fc, #bae6fd);
}

.preview-lines span:nth-child(1) { width: 92%; }
.preview-lines span:nth-child(2) { width: 76%; }
.preview-lines span:nth-child(3) { width: 84%; }
.preview-lines span:nth-child(4) { width: 64%; }

/* Safety */
.safety {
  padding: 4rem 0 2rem;
}

.safety-inner {
  padding: 3rem 2rem;
  text-align: center;
  border-radius: calc(var(--radius) + 8px);
  background:
    linear-gradient(145deg, #ffffff, #f0fdfa),
    linear-gradient(120deg, rgba(45, 212, 191, 0.1), rgba(56, 189, 248, 0.1));
  border: 1px solid rgba(45, 212, 191, 0.18);
}

.safety-inner p {
  max-width: 36rem;
  margin-inline: auto;
}

.safety-points {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.5rem;
}

.safety-points p {
  margin: 0;
  padding: 0.55rem 1rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  font-weight: 700;
  color: var(--brand);
  font-size: 0.95rem;
}

/* Reviews */
.reviews {
  padding: 4.5rem 0 2rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 2rem;
}

.tags span {
  padding: 0.45rem 0.85rem;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.tags em {
  font-style: normal;
  font-family: var(--font-en);
  font-weight: 700;
  color: var(--accent-deep);
  margin-left: 0.25rem;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.review {
  margin: 0;
  padding: 1.35rem 1.25rem 1.2rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(56, 140, 170, 0.06);
}

.review p {
  margin: 0 0 1rem;
  color: var(--ink);
  font-size: 0.98rem;
}

.review footer {
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 600;
}

/* Download */
.download {
  padding: 4.5rem 0 5rem;
}

.download-inner {
  text-align: center;
  padding: 3.5rem 1.5rem;
  border-radius: calc(var(--radius) + 10px);
  background:
    radial-gradient(700px 280px at 50% 0%, rgba(45, 212, 191, 0.22), transparent 60%),
    linear-gradient(180deg, #f0fdfa 0%, #e0f2fe 100%);
  color: var(--ink);
  border: 1px solid rgba(45, 180, 190, 0.2);
}

.download-inner h2 {
  color: var(--brand);
}

.download-inner > p {
  color: var(--ink-soft);
  max-width: 32rem;
  margin: 0 auto 1.75rem;
}

.download-inner .btn-primary {
  background: linear-gradient(135deg, #2dd4bf 0%, #14b8a6 45%, #38bdf8 100%);
  color: #fff;
  box-shadow: 0 12px 30px rgba(45, 212, 191, 0.35);
}

.download-note {
  margin: 1rem 0 0 !important;
  font-size: 0.9rem !important;
  color: var(--ink-soft) !important;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 2rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.footer-inner a:hover {
  color: var(--brand);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Animations */
@keyframes heroIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes floatOrb {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}

@keyframes floatProduct {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes progressPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.75; }
}

@keyframes pulseRing {
  0% {
    box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.4);
  }
  70% {
    box-shadow: 0 0 0 28px rgba(45, 212, 191, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(45, 212, 191, 0);
  }
}

/* Responsive */
@media (max-width: 960px) {
  .nav {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 4.5rem 0 3rem;
    align-items: start;
  }

  .hero-product {
    position: relative;
    right: auto;
    top: auto;
    width: min(520px, 92%);
    margin: 0 auto 1.5rem;
    display: block;
  }

  .hero-visual {
    position: relative;
    min-height: 280px;
  }

  .hero-orb-a {
    right: 10%;
    top: 0;
  }

  .hero-content {
    max-width: none;
  }

  .feature-row,
  .feature-row.reverse {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .feature-row.reverse .feature-copy,
  .feature-row.reverse .feature-visual {
    order: initial;
  }

  .review-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --container: min(1120px, calc(100% - 1.5rem));
  }

  .brand-hero {
    font-size: 2.1rem;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
  }

  .review-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .feature-visual {
    min-height: 220px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-content,
  .hero-product,
  .reveal,
  .hero-orb,
  .progress-fill,
  .viz-pulse {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
