@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700;800;900&family=Noto+Sans+SC:wght@400;500;600;700;900&display=swap');

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --crimson: #DC2626;
  --crimson-dark: #B91C1C;
  --charcoal: #111827;
  --bg: #FAFAFA;
  --white: #FFFFFF;
  --muted: #6B7280;
  --border: #E5E7EB;
  --font-display: "Montserrat", "Noto Sans SC", "PingFang SC", sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", sans-serif;
  --nav-h: 64px;
  --pill: 999px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--charcoal);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.15;
  color: var(--charcoal);
}

h1 { font-size: clamp(2.75rem, 7vw, 4.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.625rem, 3.5vw, 2.375rem); margin-bottom: 0.75rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }

p { margin-bottom: 1rem; }

a {
  color: var(--crimson);
  text-decoration: none;
}

a:hover { color: var(--crimson-dark); }

img, svg { display: block; max-width: 100%; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section-head {
  margin-bottom: 48px;
}

.section-head.center { text-align: center; }

.section-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--crimson);
  margin-bottom: 12px;
}

.section-desc {
  color: var(--muted);
  font-size: 1rem;
  max-width: 620px;
}

.section-head.center .section-desc {
  margin: 0 auto;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Nav */
.app-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(250, 250, 250, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.app-nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.app-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.125rem;
  color: var(--charcoal);
  text-decoration: none;
}

.app-brand:hover { color: var(--charcoal); }

.app-brand-mark {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.app-nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.app-nav-links a {
  position: relative;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--muted);
  padding-bottom: 10px;
  text-decoration: none;
}

.app-nav-links a:hover { color: var(--charcoal); }

.app-nav-links a.active {
  font-weight: 800;
  color: var(--charcoal);
}

.app-nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--crimson);
}

.nav-hamburger {
  display: none;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  cursor: default;
  pointer-events: none;
  opacity: 0.35;
}

.nav-hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--charcoal);
  margin: 5px auto;
  border-radius: 1px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9375rem;
  border: none;
  border-radius: var(--pill);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
  white-space: nowrap;
}

.btn:disabled { opacity: 0.7; cursor: not-allowed; }

.btn-primary {
  background: var(--crimson);
  color: var(--white);
  padding: 14px 28px;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.35);
}

.btn-primary:hover {
  background: var(--crimson-dark);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
}

.btn-dark {
  background: var(--charcoal);
  color: var(--white);
  padding: 14px 28px;
}

.btn-dark:hover {
  background: #1F2937;
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--charcoal);
  padding: 13px 26px;
  border: 2px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--charcoal);
  color: var(--charcoal);
}

.btn-ghost-light {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  padding: 14px 28px;
  border: 2px solid rgba(255, 255, 255, 0.25);
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 20px; font-size: 0.8125rem; }

/* Hero */
.app-hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--charcoal);
}

.app-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.app-hero-bg .slice-red {
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  background: var(--crimson);
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
}

.app-hero-bg .slice-dark {
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 45%;
  height: 50%;
  background: rgba(255, 255, 255, 0.04);
  clip-path: polygon(0 30%, 100% 0, 100% 100%, 0 100%);
}

.app-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 64px 0 80px;
}

.app-hero-text { color: var(--white); }

.app-hero-text h1 {
  color: var(--white);
  margin-bottom: 16px;
}

.app-hero-text .brand-sub {
  display: block;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 8px;
  letter-spacing: 0.02em;
}

.app-hero-slogan {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
}

.app-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 20px;
}

.app-hero-meta {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.45);
}

.app-hero-phone {
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-mockup {
  width: min(280px, 90%);
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.45));
}

/* Platforms */
.platforms-section {
  background: var(--white);
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.platform-card {
  background: var(--bg);
  border-radius: 20px;
  padding: 28px 24px;
  text-align: center;
  border: 1px solid var(--border);
}

.platform-card.featured {
  background: var(--charcoal);
  color: var(--white);
  border-color: var(--charcoal);
}

.platform-card.featured h3,
.platform-card.featured p { color: var(--white); }

.platform-card.featured p { color: rgba(255, 255, 255, 0.65); }

.platform-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  color: var(--crimson);
}

.platform-card.featured .platform-icon { color: var(--crimson); }

.platform-card h3 {
  font-size: 1.0625rem;
  margin-bottom: 8px;
}

.platform-card p {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-bottom: 16px;
  line-height: 1.55;
}

.platform-card .btn { margin-top: 4px; }

/* Trust bar */
.trust-bar {
  background: var(--charcoal);
  color: var(--white);
  padding: 40px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.trust-num {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 900;
  color: var(--crimson);
  line-height: 1;
  margin-bottom: 6px;
}

.trust-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Showcase alternating */
.showcase-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
}

.showcase-block:last-child { border-bottom: none; }

.showcase-block.reverse .showcase-visual { order: -1; }

.showcase-visual {
  background: var(--white);
  border-radius: 24px;
  padding: 24px;
  border: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(17, 24, 39, 0.06);
}

.showcase-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--crimson);
  background: rgba(220, 38, 38, 0.08);
  padding: 4px 12px;
  border-radius: var(--pill);
  margin-bottom: 14px;
}

.showcase-text h3 {
  font-size: clamp(1.375rem, 2.5vw, 1.75rem);
  margin-bottom: 14px;
}

.showcase-text p {
  color: var(--muted);
  margin-bottom: 12px;
}

.showcase-list {
  list-style: none;
  margin-top: 16px;
}

.showcase-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-size: 0.9375rem;
  color: var(--charcoal);
}

.showcase-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--crimson);
}

/* Highlights row */
.highlights-section {
  background: var(--white);
}

.highlights-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.highlight-item {
  text-align: center;
  padding: 24px 12px;
}

.highlight-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  background: rgba(220, 38, 38, 0.08);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--crimson);
}

.highlight-icon svg {
  width: 26px;
  height: 26px;
}

.highlight-item h3 {
  font-size: 0.9375rem;
  margin-bottom: 6px;
}

.highlight-item p {
  font-size: 0.75rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

/* Reviews */
.reviews-section { background: var(--bg); }

.reviews-summary {
  display: flex;
  align-items: center;
  gap: 40px;
  background: var(--white);
  border-radius: 24px;
  padding: 40px 48px;
  margin-bottom: 32px;
  border: 1px solid var(--border);
}

.reviews-score {
  text-align: center;
  flex-shrink: 0;
}

.reviews-score-num {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 900;
  color: var(--charcoal);
  line-height: 1;
}

.reviews-score-stars {
  display: flex;
  gap: 4px;
  justify-content: center;
  margin: 8px 0;
}

.reviews-score-stars svg {
  width: 20px;
  height: 20px;
  fill: #FBBF24;
}

.reviews-score-meta {
  font-size: 0.8125rem;
  color: var(--muted);
}

.reviews-bars { flex: 1; }

.review-bar-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 0.8125rem;
  color: var(--muted);
}

.review-bar-row span:first-child { width: 28px; text-align: right; }

.review-bar-track {
  flex: 1;
  height: 8px;
  background: var(--border);
  border-radius: var(--pill);
  overflow: hidden;
}

.review-bar-fill {
  height: 100%;
  background: var(--crimson);
  border-radius: var(--pill);
}

.review-bar-row span:last-child { width: 36px; }

.reviews-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.review-card {
  background: var(--white);
  border-radius: 20px;
  padding: 24px;
  border: 1px solid var(--border);
}

.review-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 12px;
}

.review-stars svg {
  width: 16px;
  height: 16px;
  fill: #FBBF24;
}

.review-card blockquote {
  font-size: 0.9375rem;
  color: var(--charcoal);
  line-height: 1.65;
  margin-bottom: 16px;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.review-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--crimson);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.review-name {
  font-weight: 700;
  font-size: 0.875rem;
}

.review-role {
  font-size: 0.75rem;
  color: var(--muted);
}

/* FAQ */
.faq-section {
  background: var(--white);
  padding: 64px 0;
}

.faq-compact {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-q {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.faq-a {
  font-size: 0.9375rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.65;
}

/* Compare */
.compare-section { background: var(--bg); }

.compare-table-wrap {
  overflow-x: auto;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--white);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.compare-table th,
.compare-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.compare-table th {
  background: var(--charcoal);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
}

.compare-table th:first-child { border-radius: 20px 0 0 0; }
.compare-table th:last-child { border-radius: 0 20px 0 0; }

.compare-table tr:last-child td { border-bottom: none; }

.compare-highlight {
  color: var(--crimson);
  font-weight: 700;
}

.check { color: #059669; font-weight: 600; }
.cross { color: var(--muted); }

/* Download page */
.dl-hero {
  background: var(--charcoal);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}

.dl-hero h1 {
  color: var(--white);
  margin-bottom: 16px;
}

.dl-hero p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 640px;
  margin: 0 auto 32px;
  font-size: 1.0625rem;
}

.dl-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.dl-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.dl-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 32px;
}

.dl-card.featured {
  grid-column: 1 / -1;
  background: var(--charcoal);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.dl-card.featured h2 { color: var(--white); margin-bottom: 12px; }

.dl-card.featured p {
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 8px;
}

.dl-card h3 { margin-bottom: 10px; }

.dl-card p {
  color: var(--muted);
  font-size: 0.9375rem;
  margin-bottom: 20px;
}

.dl-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.dl-spec {
  background: var(--bg);
  border-radius: 16px;
  padding: 24px;
}

.dl-spec h4 {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  margin-bottom: 8px;
}

.dl-spec p {
  font-size: 0.8125rem;
  color: var(--muted);
  margin: 0;
}

.dl-steps {
  list-style: none;
  counter-reset: step;
}

.dl-steps li {
  counter-increment: step;
  position: relative;
  padding-left: 56px;
  margin-bottom: 32px;
}

.dl-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--crimson);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9375rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dl-steps li strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  margin-bottom: 6px;
}

.dl-steps li p {
  color: var(--muted);
  font-size: 0.9375rem;
  margin: 0;
}

.dl-cta-band {
  background: var(--crimson);
  color: var(--white);
  text-align: center;
  padding: 64px 0;
}

.dl-cta-band h2 { color: var(--white); margin-bottom: 12px; }

.dl-cta-band p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 520px;
  margin: 0 auto 28px;
}

.dl-cta-band .btn-outline {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
}

.dl-cta-band .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

/* Brand / zh-cn page */
.brand-hero {
  background: var(--charcoal);
  color: var(--white);
  padding: 72px 0 56px;
}

.brand-hero h1 {
  color: var(--white);
  margin-bottom: 16px;
}

.brand-meta {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 24px;
}

.brand-lead {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 760px;
  line-height: 1.75;
}

.brand-content { padding: 64px 0; }

.brand-block {
  max-width: 760px;
  margin: 0 auto 48px;
}

.brand-block h2 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--crimson);
  display: inline-block;
}

.brand-block p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
}

.brand-timeline {
  margin-top: 24px;
  border-left: 2px solid var(--border);
  padding-left: 24px;
}

.brand-milestone {
  margin-bottom: 24px;
}

.brand-milestone .year {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.125rem;
  color: var(--crimson);
  margin-bottom: 4px;
}

.brand-milestone p {
  font-size: 0.9375rem;
  margin: 0;
}

.brand-cta {
  background: var(--charcoal);
  border-radius: 24px;
  padding: 48px 32px;
  text-align: center;
  max-width: 760px;
  margin: 48px auto 0;
}

.brand-cta h2 { color: var(--white); margin-bottom: 12px; }

.brand-cta p {
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 24px;
}

/* Footer */
.app-footer {
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.55);
  padding: 40px 0;
  text-align: center;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-bottom: 20px;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
}

.footer-nav a:hover { color: var(--white); }

.footer-safe {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 10px;
}

.footer-safe svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.footer-copy {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 960px) {
  .app-hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 48px 0 64px;
  }

  .app-hero-cta { justify-content: center; }
  .app-hero-phone { order: -1; }
  .phone-mockup { width: 220px; }

  .platform-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }

  .showcase-block,
  .showcase-block.reverse {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .showcase-block.reverse .showcase-visual { order: 0; }

  .highlights-row { grid-template-columns: repeat(3, 1fr); }
  .reviews-summary { flex-direction: column; text-align: center; }
  .reviews-list { grid-template-columns: 1fr; }

  .dl-card.featured { flex-direction: column; text-align: center; }
  .dl-cards { grid-template-columns: 1fr; }
  .dl-specs { grid-template-columns: 1fr; }

  .nav-hamburger { display: block; }
}

@media (max-width: 600px) {
  .platform-grid { grid-template-columns: 1fr; }
  .highlights-row { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .app-nav-links { gap: 20px; }
}
