@charset "UTF-8";

:root {
  --green: #28b242;
  --green-deep: #1a8f30;
  --ink: #13241a;
  --ink-soft: #2a4032;
  --paper: #f3faf4;
  --muted: #5d7564;
  --line: #cfe8d4;
  --shell: 1160px;
  --header-height: 72px;
  --shadow: 0 18px 40px rgba(40, 178, 66, 0.16);
  --panel: #0f1f15;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
img { display: block; max-width: 100%; }
a, button { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; border: 0; background: none; cursor: pointer; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

.page-shell {
  width: min(calc(100% - 40px), var(--shell));
  margin: 0 auto;
}

.icon {
  display: inline-block;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  vertical-align: middle;
}
.icon::before {
  display: block;
  width: 100%;
  height: 100%;
  content: "";
  background: center / contain no-repeat;
}
.icon-download::before { background-image: url("../icons/download.svg"); }
.icon-menu::before { background-image: url("../icons/menu.svg"); }
.icon-close::before { background-image: url("../icons/close.svg"); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-height);
  background: rgba(243, 250, 244, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-shell {
  height: 100%;
  width: min(calc(100% - 40px), var(--shell));
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}
.brand img {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(40, 178, 66, 0.25);
}
.primary-nav { margin-left: auto; }
.primary-nav ul {
  display: flex;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.primary-nav a {
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 600;
}
.primary-nav a:hover { color: var(--green-deep); }
.nav-download {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  border-radius: 10px;
  background: var(--green);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 2px 0 #167a28;
}
.nav-download .icon { filter: brightness(0) invert(1); }
.menu-toggle { display: none; padding: 8px; }

.eyebrow {
  margin: 0 0 8px;
  color: var(--green-deep);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
}
.section-heading { margin-bottom: 28px; max-width: 640px; }
.section-heading h2 {
  margin: 0 0 10px;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.25;
}
.section-heading p { margin: 0; color: var(--muted); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  font-weight: 800;
}
.button-primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 12px 28px rgba(40, 178, 66, 0.3);
}
.button-primary .icon { filter: brightness(0) invert(1); }
.button-ghost {
  background: #fff;
  color: var(--green-deep);
  border: 1px solid var(--line);
}
.button-light {
  background: #fff;
  color: var(--green-deep);
}

/* Hero: HUD meter panel */
.hero {
  padding: 46px 0 62px;
  background:
    radial-gradient(700px 360px at 90% 0%, rgba(40, 178, 66, 0.22), transparent 55%),
    linear-gradient(180deg, #e5f6e8 0%, var(--paper) 70%);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 440px);
  gap: 34px;
  align-items: center;
}
.hero-copy h1 {
  margin: 0 0 10px;
  font-size: clamp(36px, 5vw, 52px);
  line-height: 1.08;
}
.hero-title {
  margin: 0 0 14px;
  font-size: 20px;
  font-weight: 800;
  color: var(--green-deep);
}
.hero-summary {
  margin: 0 0 22px;
  max-width: 34em;
  color: var(--ink-soft);
}

.xc-hud {
  background: var(--panel);
  border: 1px solid rgba(40, 178, 66, 0.45);
  border-radius: 20px;
  box-shadow: var(--shadow);
  overflow: hidden;
  color: #dff5e4;
  animation: xc-glow 4.8s ease-in-out infinite;
}
.xc-hud-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  background: rgba(40, 178, 66, 0.12);
  font-size: 13px;
}
.xc-hud-top b { color: #fff; font-size: 15px; }
.xc-hud-top span {
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-weight: 800;
  font-size: 11px;
}
.xc-hud figure { margin: 0; position: relative; }
.xc-hud img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  opacity: 0.92;
}
.xc-meters {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 12px;
}
.xc-meters li {
  list-style: none;
  padding: 10px 8px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  text-align: center;
}
.xc-meters strong {
  display: block;
  color: var(--green);
  font-size: 18px;
}
.xc-meters small { color: rgba(223, 245, 228, 0.7); font-size: 11px; }

@keyframes xc-glow {
  0%, 100% { transform: translateY(0); box-shadow: var(--shadow); }
  50% { transform: translateY(-7px); box-shadow: 0 22px 44px rgba(40, 178, 66, 0.28); }
}

/* Features: metric tiles */
.features {
  padding: 70px 0;
  background: #fff;
}
.xc-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.xc-metrics article {
  padding: 20px 18px;
  border-radius: 16px;
  background: #f3faf4;
  border: 1px solid var(--line);
}
.xc-metrics .val {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 800;
  color: var(--green-deep);
  line-height: 1;
}
.xc-metrics h4 { margin: 0 0 6px; font-size: 17px; }
.xc-metrics p { margin: 0; color: var(--muted); font-size: 14px; }

/* Screens: device + HUD label */
.screens {
  padding: 70px 0;
  background: linear-gradient(180deg, #e6f5e9, #f5fbf6);
}
.xc-devices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.xc-devices figure {
  margin: 0;
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #0f1f15;
  border: 2px solid #1d3a26;
  box-shadow: var(--shadow);
}
.xc-devices img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: top center;
}
.xc-devices figcaption {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(15, 31, 21, 0.88);
  color: #dff5e4;
}
.xc-devices b {
  display: block;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--green);
}
.xc-devices span { font-weight: 800; font-size: 14px; }
.xc-guide {
  margin-top: 24px;
  padding: 18px 20px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
}
.xc-guide h4 { margin: 0 0 8px; font-size: 17px; color: var(--green-deep); }
.xc-guide p { margin: 0; color: var(--muted); }

/* FAQ: switch panels */
.faq {
  padding: 70px 0;
  background: #fff;
}
.xc-faq {
  display: grid;
  gap: 10px;
  max-width: 860px;
}
.xc-faq details {
  border-radius: 14px;
  background: #f3faf4;
  border: 1px solid var(--line);
  padding: 14px 16px;
}
.xc-faq summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  cursor: default;
}
.xc-faq summary::-webkit-details-marker { display: none; }
.xc-faq h3 { margin: 0; font-size: 16px; }
.xc-faq .sw {
  flex: none;
  width: 42px;
  height: 24px;
  border-radius: 999px;
  background: var(--green);
  position: relative;
}
.xc-faq .sw::after {
  content: "";
  position: absolute;
  top: 3px;
  right: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
}
.xc-faq .faq-answer { margin-top: 8px; color: var(--muted); }
.xc-faq .faq-answer p { margin: 0; }

/* Official */
.official {
  padding: 46px 0;
  background: var(--green-deep);
  color: #fff;
}
.xc-official {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.xc-official .eyebrow { color: rgba(255, 255, 255, 0.75); }
.xc-official h2 { margin: 0 0 8px; font-size: clamp(24px, 3vw, 32px); }
.xc-official p { margin: 0; max-width: 38em; color: rgba(255, 255, 255, 0.9); }
.xc-official .button-ghost {
  border-color: transparent;
  color: var(--green-deep);
}

/* Reviews: rating bars */
.reviews {
  padding: 70px 0;
  background: var(--paper);
}
.xc-rates {
  display: grid;
  gap: 12px;
  max-width: 820px;
}
.xc-rates article {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
}
.xc-rates .score {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: #e8f8eb;
  color: var(--green-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 20px;
}
.xc-rates p { margin: 0 0 8px; color: var(--ink-soft); font-size: 14px; }
.xc-rates .bar {
  height: 6px;
  border-radius: 999px;
  background: #e8f8eb;
  overflow: hidden;
  margin-bottom: 8px;
}
.xc-rates .bar i {
  display: block;
  height: 100%;
  background: var(--green);
}
.xc-rates footer {
  display: flex;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
}

/* Download: pulse strip */
.download {
  padding: 52px 0;
  background: #0f1f15;
  color: #dff5e4;
  border-top: 3px solid var(--green);
}
.xc-download {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.xc-download .eyebrow { color: var(--green); }
.xc-download h2 { margin: 0 0 8px; font-size: clamp(26px, 3vw, 34px); color: #fff; }
.xc-download p { margin: 0; max-width: 38em; color: rgba(223, 245, 228, 0.75); }

.site-footer {
  padding: 48px 0 28px;
  background: #0a150e;
  color: #a8c7b1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.footer-brand {
  display: grid;
  gap: 10px;
  justify-items: start;
}
.footer-brand img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #fff;
}
.footer-brand strong { color: #fff; font-size: 18px; }
.footer-brand p { margin: 0; color: #7d9e86; font-size: 14px; }
.footer-title {
  margin: 0 0 12px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}
.footer-nav ul { margin: 0; padding: 0; list-style: none; }
.footer-nav li + li { margin-top: 8px; }
.footer-nav a { color: #7d9e86; font-size: 14px; }
.footer-nav a:hover { color: #fff; }
.copyright {
  grid-column: 1 / -1;
  margin: 12px 0 0;
  padding-top: 18px;
  border-top: 1px solid #1a2f20;
  color: #6c8a74;
  font-size: 13px;
}
.legal {
  grid-column: 1 / -1;
  color: #6c8a74;
  font-size: 13px;
}
.legal p { margin: 0 0 8px; }
.legal a { color: #a8c7b1; }
.disclaimer { line-height: 1.7; }

.to-top {
  position: fixed;
  right: 24px;
  bottom: 152px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}
.to-top::before {
  width: 9px;
  height: 9px;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  content: "";
  transform: rotate(45deg) translate(1px, 1px);
}
.to-top.is-show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .xc-metrics { grid-template-columns: 1fr; }
  .xc-devices { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .menu-toggle { display: inline-flex; margin-left: auto; }
  .primary-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-height);
    margin: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .primary-nav.is-open { display: block; }
  .primary-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 8px 20px 16px;
  }
  .primary-nav li a { display: block; padding: 12px 0; }
  .nav-download { display: none; }
  .xc-rates article { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .to-top { right: 14px; bottom: 140px; }
}

@media (prefers-reduced-motion: reduce) {
  .xc-hud { animation: none; }
  html { scroll-behavior: auto; }
}
