/* ─────────── Reset & Base ─────────── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #202124;
  background: #F8F9FA;
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  word-break: keep-all;
  line-height: 1.15;
}

.font-inter {
  font-family: "Inter", "SF Pro Display", -apple-system, sans-serif;
}

a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

/* ─────────── Container ─────────── */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

@media (max-width: 768px) {
  .section-container {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* ─────────── Buttons ─────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #1A73E8;
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  padding: 14px 40px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 300ms ease;
  text-decoration: none;
}
.btn-primary:hover {
  background: #1557B0;
  box-shadow: 0 4px 16px rgba(26, 115, 232, 0.35);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: transparent;
  color: #FFFFFF;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 8px;
  padding: 14px 40px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 300ms ease;
  text-decoration: none;
}
.btn-secondary:hover {
  border-color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
}

.btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #FFFFFF;
  color: #1A73E8;
  border: none;
  border-radius: 8px;
  padding: 16px 48px;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  transition: all 300ms ease;
  text-decoration: none;
}
.btn-white:hover {
  background: #F1F3F4;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.btn-small {
  padding: 12px 32px;
  font-size: 14px;
}

.btn-large {
  padding: 18px 56px;
  font-size: 18px;
}

/* ─────────── Cards ─────────── */
.card {
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(32, 33, 36, 0.08);
  padding: 32px;
  transition: all 300ms ease;
}
.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(32, 33, 36, 0.12);
}

/* ─────────── Navigation ─────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  background: #FFFFFF;
  border-bottom: 1px solid #DADCE0;
  z-index: 1000;
  box-shadow: 0 1px 2px rgba(32, 33, 36, 0.05);
  transition: box-shadow 300ms ease;
}
.navbar.scrolled {
  box-shadow: 0 2px 8px rgba(32, 33, 36, 0.1);
}
.navbar-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.navbar-logo svg {
  width: 32px;
  height: 32px;
}
.navbar-logo span {
  font-size: 18px;
  font-weight: 700;
  color: #202124;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 16px;
  color: #5F6368;
  transition: color 200ms ease;
}
.nav-links a:hover,
.nav-links a.active {
  color: #1A73E8;
}
.nav-links a.active {
  font-weight: 700;
}

/* Mobile menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: #202124;
  display: block;
  transition: all 300ms ease;
}
.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: #FFFFFF;
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}
.mobile-menu.open {
  display: flex;
}
.mobile-menu a {
  font-size: 24px;
  color: #202124;
  text-decoration: none;
}
.mobile-menu a.active {
  color: #1A73E8;
  font-weight: 700;
}

@media (max-width: 768px) {
  .nav-links { display: none !important; }
  .hamburger { display: flex !important; }
}

/* ─────────── Hero ─────────── */
.hero {
  position: relative;
  width: 100%;
  min-height: 700px;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(26,115,232,0.85) 0%, rgba(52,168,83,0.75) 100%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 120px;
  padding-bottom: 80px;
  width: 100%;
}
.hero-label {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 16px;
}
.hero-title {
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.1;
  max-width: 700px;
}
.hero-subtitle {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
  margin-top: 24px;
  line-height: 1.6;
}
.hero-btns {
  display: flex;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.hero-trust {
  display: flex;
  gap: 24px;
  margin-top: 32px;
}
.hero-trust span {
  font-size: 14px;
  color: #FFFFFF;
  opacity: 0.8;
  display: flex;
  align-items: center;
  gap: 6px;
}

@media (max-width: 480px) {
  .hero-btns { flex-direction: column; }
  .hero-btns .btn-primary,
  .hero-btns .btn-secondary { width: 100%; }
}

/* ─────────── Section Headings ─────────── */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-header h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  color: #202124;
}
.section-header p {
  font-size: 20px;
  color: #5F6368;
  max-width: 640px;
  margin: 16px auto 0;
  line-height: 1.6;
}

/* ─────────── Feature Cards ─────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.feature-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #E8F0FE;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature-icon-wrap svg {
  width: 28px;
  height: 28px;
  color: #1A73E8;
}
.feature-card h3 {
  font-size: 24px;
  font-weight: 700;
  color: #202124;
  margin: 0;
}
.feature-card p {
  font-size: 16px;
  color: #5F6368;
  line-height: 1.7;
  margin-top: 12px;
}

@media (max-width: 768px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
}

/* ─────────── Platform Cards ─────────── */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.platform-card {
  text-align: center;
  padding: 40px 32px;
}
.platform-card svg {
  width: 48px;
  height: 48px;
  color: #1A73E8;
  margin: 0 auto 16px;
}
.platform-card h3 {
  font-size: 24px;
  font-weight: 700;
  color: #202124;
  margin: 0;
}
.platform-card .platform-desc {
  font-size: 14px;
  color: #5F6368;
  margin-top: 8px;
}
.platform-card button {
  margin-top: 24px;
}

@media (max-width: 768px) {
  .platform-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .platform-grid { grid-template-columns: 1fr; }
}

/* ─────────── Detail Features ─────────── */
.detail-feature-row {
  display: flex;
  align-items: center;
  gap: 48px;
}
.detail-feature-row.reverse {
  flex-direction: row-reverse;
}
.detail-feature-row img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(32, 33, 36, 0.08);
}
.detail-feature-row .text-col {
  flex: 1;
  padding: 24px;
}
.detail-feature-row .img-col {
  flex: 1;
}
.detail-feature-row .tag {
  font-size: 12px;
  font-weight: 500;
  color: #1A73E8;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.detail-feature-row h2 {
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 700;
  color: #202124;
  margin-top: 12px;
}
.detail-feature-row p {
  font-size: 16px;
  color: #5F6368;
  line-height: 1.7;
  margin-top: 16px;
}

@media (max-width: 768px) {
  .detail-feature-row,
  .detail-feature-row.reverse {
    flex-direction: column !important;
  }
}

/* ─────────── Testimonials ─────────── */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.testimonial-card .stars {
  display: flex;
  gap: 4px;
}
.testimonial-card .stars svg {
  width: 18px;
  height: 18px;
}
.testimonial-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #202124;
  margin-top: 16px;
}
.testimonial-card .role {
  font-size: 14px;
  color: #5F6368;
  margin-top: 4px;
}
.testimonial-card .text {
  font-size: 16px;
  color: #5F6368;
  line-height: 1.7;
  margin-top: 12px;
}

@media (max-width: 768px) {
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .testimonial-grid { grid-template-columns: 1fr; }
}

/* ─────────── Stats ─────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.stats-item {
  text-align: center;
  position: relative;
}
.stats-item .number {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  color: #FFFFFF;
}
.stats-item .label {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 8px;
}
.stats-divider {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-divider { display: none; }
}

/* ─────────── Comparison Table ─────────── */
.comparison-table-wrap {
  max-width: 900px;
  margin: 0 auto;
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(32, 33, 36, 0.08);
  overflow: hidden;
}
.comparison-table-wrap table {
  width: 100%;
  border-collapse: collapse;
}
.comparison-table-wrap th {
  background: #1A73E8;
  color: #FFFFFF;
  font-weight: 500;
  font-size: 14px;
  padding: 16px 24px;
  text-align: left;
}
.comparison-table-wrap th:not(:first-child) {
  text-align: center;
}
.comparison-table-wrap td {
  padding: 16px 24px;
  font-size: 14px;
}
.comparison-table-wrap tbody tr:nth-child(even) {
  background: #F8F9FA;
}
.comparison-table-wrap .cell-support {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 500;
}
.comparison-table-wrap .cell-support svg {
  width: 20px;
  height: 20px;
}
.comparison-table-wrap .support-full { color: #34A853; }
.comparison-table-wrap .support-partial { color: #FBBC05; }
.comparison-table-wrap .support-none { color: #EA4335; }

/* ─────────── FAQ ─────────── */
.faq-wrap {
  max-width: 800px;
  margin: 0 auto;
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(32, 33, 36, 0.08);
  overflow: hidden;
}
.faq-item {
  border-bottom: 1px solid #DADCE0;
}
.faq-item:last-child {
  border-bottom: none;
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  border-left: 4px solid transparent;
  transition: border-color 200ms ease;
}
.faq-question.active {
  border-left-color: #1A73E8;
}
.faq-question h3 {
  font-size: 18px;
  font-weight: 700;
  color: #202124;
  margin: 0;
  flex: 1;
  padding-right: 16px;
}
.faq-question svg {
  width: 20px;
  height: 20px;
  color: #5F6368;
  flex-shrink: 0;
  transition: transform 300ms ease;
}
.faq-question.active svg {
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 300ms ease, opacity 200ms ease;
  opacity: 0;
}
.faq-answer.open {
  max-height: 300px;
  opacity: 1;
}
.faq-answer p {
  padding: 0 24px 20px;
  font-size: 16px;
  color: #5F6368;
  line-height: 1.7;
  margin: 0;
}

/* ─────────── Footer ─────────── */
.footer {
  background: #202124;
  color: #FFFFFF;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
  padding: 60px 0;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.footer-logo svg {
  width: 32px;
  height: 32px;
}
.footer-logo span {
  font-size: 16px;
  font-weight: 700;
}
.footer-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
}
.footer-col h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 10px;
  transition: color 200ms ease;
}
.footer-col a:hover {
  color: #FFFFFF;
}
.footer-lower {
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-lower span {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 40px 0;
  }
  .footer-lower {
    flex-direction: column;
    text-align: center;
  }
}
@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ─────────── Download Page Hero ─────────── */
.download-hero {
  background: linear-gradient(135deg, #1A73E8 0%, #34A853 100%);
  padding: 160px 24px 100px;
}
.download-hero-row {
  display: flex;
  align-items: center;
  gap: 48px;
}
.download-hero-row .left {
  flex: 3;
}
.download-hero-row .right {
  flex: 2;
}
.download-hero-row .right img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  transform: rotate(3deg);
}
.download-tag {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  padding: 6px 16px;
  display: inline-block;
}
.download-hero h1 {
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 700;
  color: #FFFFFF;
  margin-top: 24px;
}
.download-hero .subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 520px;
  margin-top: 16px;
  line-height: 1.6;
}
.download-hero .version-info {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 16px;
}
.download-hero .terms {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 12px;
}

@media (max-width: 768px) {
  .download-hero-row {
    flex-direction: column;
  }
  .download-hero-row .right {
    display: none;
  }
}

/* ─────────── Multi-Platform Cards ─────────── */
.multi-platform-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.multi-platform-card {
  display: flex;
  flex-direction: column;
}
.multi-platform-card .info-list {
  margin-top: 12px;
}
.multi-platform-card .info-list p {
  font-size: 14px;
  color: #5F6368;
  margin: 2px 0;
}
.multi-platform-card .steps-box {
  margin-top: 16px;
  padding: 12px;
  background: #F8F9FA;
  border-radius: 8px;
}
.multi-platform-card .steps-box p {
  font-size: 13px;
  color: #5F6368;
  margin: 4px 0;
}
.multi-platform-card button {
  margin-top: auto;
  width: 100%;
}

@media (max-width: 768px) {
  .multi-platform-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .multi-platform-grid { grid-template-columns: 1fr; }
}

/* ─────────── Steps Grid ─────────── */
.steps-grid {
  display: grid;
  gap: 32px;
}
.steps-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}
.steps-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.step-card {
  text-align: center;
}
.step-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #1A73E8;
  color: #FFFFFF;
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.step-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #202124;
  margin: 0;
}
.step-card p {
  font-size: 14px;
  color: #5F6368;
  line-height: 1.7;
  margin-top: 12px;
}

@media (max-width: 768px) {
  .steps-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps-grid-3 { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .steps-grid-4 { grid-template-columns: 1fr; }
}

/* ─────────── Sys Req Table ─────────── */
.sysreq-wrap {
  max-width: 900px;
  margin: 0 auto;
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(32, 33, 36, 0.08);
  overflow-x: auto;
}
.sysreq-wrap table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
}
.sysreq-wrap th {
  background: #1A73E8;
  color: #FFFFFF;
  font-weight: 500;
  font-size: 14px;
  padding: 16px 24px;
}
.sysreq-wrap th:first-child { text-align: left; }
.sysreq-wrap td {
  padding: 16px 24px;
  font-size: 14px;
  color: #5F6368;
  text-align: center;
}
.sysreq-wrap td:first-child {
  color: #202124;
  font-weight: 500;
  text-align: left;
}
.sysreq-wrap tbody tr:nth-child(even) {
  background: #F8F9FA;
}

/* ─────────── Changelog ─────────── */
.changelog-wrap {
  max-width: 900px;
  margin: 0 auto;
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(32, 33, 36, 0.08);
  overflow: hidden;
}
.changelog-item {
  padding: 24px;
  border-bottom: 1px solid #DADCE0;
}
.changelog-item:last-child {
  border-bottom: none;
}
.changelog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.changelog-header h3 {
  font-size: 20px;
  font-weight: 700;
  color: #202124;
  margin: 0;
}
.changelog-header .date {
  font-size: 14px;
  color: #5F6368;
}
.changelog-item ul {
  margin: 8px 0 0;
  padding-left: 20px;
  list-style: disc;
}
.changelog-item li {
  font-size: 16px;
  color: #5F6368;
  line-height: 1.7;
}

/* ─────────── zh-cn Content ─────────── */
.content-page {
  max-width: 800px;
  margin: 0 auto;
}
.content-page h2 {
  font-size: 36px;
  font-weight: 700;
  color: #202124;
  margin-top: 48px;
}
.content-page h3 {
  font-size: 24px;
  font-weight: 700;
  color: #202124;
  margin-top: 32px;
}
.content-page p {
  font-size: 16px;
  color: #5F6368;
  line-height: 1.8;
  margin-top: 16px;
}
.content-page ul {
  margin-top: 12px;
  padding-left: 24px;
  list-style: disc;
}
.content-page ul li {
  font-size: 16px;
  color: #5F6368;
  line-height: 1.8;
}

/* ─────────── CTA Section ─────────── */
.cta-section {
  background: linear-gradient(135deg, #1A73E8 0%, #34A853 100%);
  padding: 80px 24px;
  text-align: center;
}
.cta-section h2 {
  font-size: 36px;
  font-weight: 700;
  color: #FFFFFF;
}
.cta-section p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 16px;
}

/* ─────────── Section spacing ─────────── */
.section-pad {
  padding: 100px 0;
}
@media (max-width: 768px) {
  .section-pad {
    padding: 60px 0;
  }
}

/* ─────────── Scroll Reveal Base ─────────── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
}

/* ─────────── Spin Animation ─────────── */
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ─────────── Download hero image mobile ─────────── */
@media (max-width: 768px) {
  .hidden-mobile { display: none !important; }
}

/* ─────────── Lenis ─────────── */
html.lenis, html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}