:root {
  --primary: #1880ff;
  --primary-2: #35b7ff;
  --ink: #040f42;
  --muted: #606787;
  --line: #e6ebf5;
  --soft: #f5f9ff;
  --surface: #ffffff;
  --shadow: 0 24px 70px rgba(14, 40, 92, 0.11);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: #fff;
  line-height: 1.6;
}

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

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(230, 235, 245, 0.72);
}

.nav {
  max-width: 1180px;
  min-height: 76px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.brand img {
  width: 92px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
  color: #29345d;
}

.nav-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 650;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(90deg, var(--primary-2), var(--primary));
  box-shadow: 0 12px 26px rgba(24, 128, 255, 0.24);
}

.btn-soft {
  color: var(--primary);
  background: #eaf4ff;
}

.btn-plain {
  color: var(--ink);
  background: transparent;
}

.btn-icon {
  gap: 9px;
}

.btn-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex: 0 0 20px;
}

.btn-hero-download {
  min-height: 72px;
  min-width: 220px;
  padding: 0 42px;
  font-size: 28px;
  font-weight: 780;
  box-shadow: 0 20px 48px rgba(24, 128, 255, 0.12);
}

.btn-hero-download svg {
  width: 30px;
  height: 30px;
  flex-basis: 30px;
}

.hero {
  min-height: 760px;
  padding: 108px 24px 56px;
  background: url("./img/nav_header_bg.webp") center top / cover no-repeat;
  overflow: hidden;
}

.hero-inner,
.section-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.hero-copy {
  text-align: center;
  max-width: 940px;
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--primary);
  background: rgba(231, 242, 255, 0.95);
  font-size: 14px;
  font-weight: 650;
  margin-bottom: 22px;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  font-size: clamp(40px, 7vw, 70px);
  line-height: 1.08;
  letter-spacing: 0;
  font-weight: 760;
}

.gradient-text {
  color: transparent;
  background: linear-gradient(100deg, #35b7ff 0%, #1880ff 56%, #ff73f6 100%);
  background-clip: text;
  -webkit-background-clip: text;
}

.hero-subtitle {
  margin: 22px auto 0;
  max-width: 720px;
  font-size: clamp(19px, 2.4vw, 28px);
  color: #263057;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-visual {
  margin: 52px auto 0;
  max-width: 920px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 22px;
  align-items: center;
}

.product-panel {
  border: 1px solid rgba(202, 219, 247, 0.86);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
  border-radius: 8px;
  overflow: hidden;
}

.product-panel img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.floating-metrics {
  display: grid;
  gap: 14px;
}

.metric {
  padding: 22px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(202, 219, 247, 0.9);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(14, 40, 92, 0.08);
}

.metric strong {
  display: block;
  font-size: 36px;
  line-height: 1;
  color: var(--primary);
  font-weight: 760;
}

.metric span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.logo-strip {
  padding: 36px 0 4px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.logo-box {
  min-height: 72px;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.logo-box img {
  max-width: 108px;
  max-height: 44px;
  object-fit: contain;
}

.section {
  padding: 92px 24px;
}

.section-soft {
  background: linear-gradient(180deg, #fff, #f6faff);
}

.section-title {
  max-width: 760px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-title h2 {
  font-size: clamp(30px, 4.5vw, 48px);
  line-height: 1.16;
}

.section-title p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 18px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 8px;
  box-shadow: 0 16px 48px rgba(14, 40, 92, 0.06);
  overflow: hidden;
}

.card-body {
  padding: 24px;
}

.card h3 {
  font-size: 22px;
  line-height: 1.25;
}

.card p {
  margin-top: 10px;
  color: var(--muted);
}

.check-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  color: #34406b;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.check-list li::before {
  content: "";
  width: 18px;
  height: 18px;
  margin-top: 3px;
  flex: 0 0 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-2), var(--primary));
  box-shadow: inset 0 0 0 5px #e7f2ff;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.solution {
  min-height: 210px;
  padding: 24px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
}

.solution .num {
  font-size: 15px;
  color: var(--primary);
  font-weight: 750;
}

.solution h3 {
  margin-top: 18px;
  font-size: 21px;
}

.solution p {
  margin-top: 10px;
  color: var(--muted);
}

.cta {
  padding: 76px 24px;
  color: #fff;
  background: #061342 url("./img/bg_footer.webp") center / cover no-repeat;
}

.cta .section-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cta h2 {
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.12;
}

.cta p {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.74);
}

.footer {
  padding: 54px 24px 28px;
  background: #fff;
  border-top: 1px solid var(--line);
}

.footer-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 34px;
}

.footer h3 {
  font-size: 16px;
  margin-bottom: 14px;
}

.footer p,
.footer a {
  color: var(--muted);
  font-size: 14px;
}

.footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
}

.copyright {
  max-width: 1180px;
  margin: 34px auto 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.page-hero {
  padding: 120px 24px 78px;
  background: linear-gradient(180deg, #edf7ff, #fff);
  text-align: center;
}

.page-hero h1 {
  max-width: 860px;
  margin: 0 auto;
}

.page-hero p {
  max-width: 740px;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: 19px;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.download-card {
  min-height: 460px;
  padding: 24px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 16px 48px rgba(14, 40, 92, 0.06);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.download-card .device {
  height: 132px;
  width: 100%;
  object-fit: contain;
  margin-bottom: 20px;
}

.download-card h2 {
  font-size: 23px;
}

.download-card p {
  color: var(--muted);
  margin-top: 9px;
}

.download-meta {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 7px;
  color: #4b5578;
  font-size: 14px;
}

.download-card .btn {
  margin-top: auto;
  width: 100%;
}

.browser-band {
  border-radius: 8px;
  background: #071b4d;
  color: #fff;
  padding: 34px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
}

.browser-band p {
  color: rgba(255, 255, 255, 0.72);
  margin-top: 8px;
}

.article-shell {
  max-width: 1080px;
  margin: 0 auto;
  padding: 58px 24px 92px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 42px;
}

.article {
  min-width: 0;
}

.article-header {
  margin-bottom: 26px;
}

.article-header h1 {
  font-size: clamp(34px, 5vw, 56px);
}

.article-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
}

.article-cover {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  margin: 28px 0;
}

.article-content {
  color: #24305a;
  font-size: 18px;
}

.article-content h2 {
  margin-top: 40px;
  font-size: 30px;
}

.article-content p {
  margin-top: 16px;
}

.article-content blockquote {
  margin: 28px 0;
  padding: 24px;
  border-left: 4px solid var(--primary);
  background: #f2f8ff;
  color: #1f2b58;
  border-radius: 8px;
}

.side-card {
  position: sticky;
  top: 98px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 48px rgba(14, 40, 92, 0.06);
}

.side-card h2 {
  font-size: 20px;
}

.side-card ul {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.side-card a {
  color: var(--muted);
}

.blog-layout {
  max-width: 1180px;
  margin: 0 auto;
  padding: 58px 24px 92px;
}

.blog-tools {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}

.blog-tools p {
  color: var(--muted);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #34406b;
  font-size: 14px;
  font-weight: 650;
}

.tag.is-active {
  color: var(--primary);
  background: #eaf4ff;
  border-color: #cfe6ff;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.blog-card {
  position: relative;
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 16px 48px rgba(14, 40, 92, 0.06);
}

.blog-card > a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.blog-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #eef5ff;
}

.blog-card-body {
  padding: 22px;
}

.blog-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
}

.blog-card h2,
.blog-card h3 {
  margin-top: 12px;
  font-size: 21px;
  line-height: 1.28;
}

.blog-card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
}

.blog-featured {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 26px;
  align-items: stretch;
  margin-bottom: 34px;
}

.blog-featured .blog-card h2 {
  font-size: clamp(26px, 3.5vw, 38px);
}

.blog-featured .blog-card img {
  min-height: 330px;
}

@media (max-width: 980px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 20px;
  }

  .nav-links,
  .nav-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .hero {
    padding-top: 56px;
  }

  .hero-visual,
  .cta .section-inner,
  .browser-band,
  .article-shell,
  .blog-featured {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .download-grid,
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .solution-grid,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .side-card {
    position: static;
  }
}

@media (max-width: 640px) {
  .nav-links {
    gap: 14px;
  }

  .nav-actions .btn {
    flex: 1;
  }

  .hero-actions .btn,
  .download-grid,
  .feature-grid,
  .blog-grid,
  .solution-grid,
  .footer-grid,
  .logo-strip {
    grid-template-columns: 1fr;
  }

  .blog-tools {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-actions {
    display: grid;
  }

  .section,
  .cta {
    padding: 64px 20px;
  }

  .page-hero {
    padding: 76px 20px 54px;
  }

  .download-card {
    min-height: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  html {
    scroll-behavior: auto;
    transition-duration: 0.01ms !important;
  }
}
