* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #1e88e5;
  --secondary-color: #1565c0;
  --accent-color: #42a5f5;
  --dark-color: #1a1a2e;
  --light-color: #f8f9fa; /* Softer light background */
  --text-color: #333;
  --text-light: #666;
  --white: #ffffff;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.05); /* Softer shadow */
  --shadow-lg: 0 15px 40px rgba(0, 0, 0, 0.12); /* Softer large shadow */
}

body {
  font-family:
    'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--white);
  overflow-x: hidden;
}

main {
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 20px;
}

.logo {
  width: 200px;
}
.logo img {
  width: 100%;
}

.nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: color 0.3s ease;
  padding: 0.5rem 0;
}

.nav a:hover,
.nav a.active {
  color: var(--primary-color);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* 中文注释：头部登录按钮改为并列双入口，用统一外框增强整体感。 */
.header-login-group {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.38rem;
  border-radius: 999px;
  background: linear-gradient(
    135deg,
    rgba(30, 136, 229, 0.09),
    rgba(66, 165, 245, 0.16)
  );
  border: 1px solid rgba(30, 136, 229, 0.14);
  box-shadow: 0 10px 24px rgba(21, 101, 192, 0.1);
}

.btn-login {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: var(--white);
  border: none;
  padding: 0.7rem 1.15rem;
  min-width: 122px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    filter 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 10px 22px rgba(30, 136, 229, 0.22);
}

.btn-login i {
  font-size: 0.95rem;
}

.btn-login--hpc {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
}

.btn-login--ai {
  background: linear-gradient(135deg, #17b8d4, #0a86ef);
  box-shadow: 0 10px 22px rgba(10, 134, 239, 0.2);
}

.btn-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(21, 101, 192, 0.24);
  filter: brightness(1.03);
}

.hero {
  background: linear-gradient(
    135deg,
    var(--dark-color) 0%,
    var(--primary-color) 100%,
    var(--secondary-color) 200%
  );
  background-size: 200% 200%;
  animation: gradientBG 15s ease infinite;
  color: var(--white);
  padding: 180px 0 120px;
  text-align: center;
  margin-top: 70px;
}

@keyframes gradientBG {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero-content p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background: var(--primary-color);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--primary-color);
}

.btn-large {
  padding: 1rem 3rem;
  font-size: 1.1rem;
}

.btn-block {
  width: 100%;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--dark-color);
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--primary-color);
  margin: 1rem auto 0;
  border-radius: 2px;
}

.services {
  padding: 80px 0;
  background: var(--light-color);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: all 0.4s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--accent-color)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 2rem;
  overflow: hidden;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

.service-card p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.btn-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.3s ease;
}

.btn-link:hover {
  gap: 1rem;
}

.features {
  padding: 80px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-item {
  text-align: center;
  padding: 2rem;
  border-radius: 12px;
  transition: all 0.4s ease;
}

.feature-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  background: var(--white);
}

.feature-number {
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
}

.feature-item h4 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

.feature-item p {
  color: var(--text-light);
}

.cta {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}

.cta h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.footer {
  background: var(--dark-color);
  color: var(--white);
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

.footer-section p {
  opacity: 0.8;
  line-height: 2;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.8rem;
}

.footer-section a {
  color: var(--white);
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.footer-section a:hover {
  opacity: 1;
}

.footer-section i {
  margin-right: 0.5rem;
  width: 20px;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  opacity: 0.7;
}

.module-media {
  display: flex;
  align-items: center;
  justify-content: center;
}

.module-media i {
  color: var(--primary-color);
}

.media-asset {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.service-icon .media-asset,
.about-image .media-asset,
.product-image .media-asset,
.news-image .media-asset,
.map-placeholder .media-asset {
  border-radius: inherit;
}

/* Image zoom effect on hover */
.service-card:hover .media-asset,
.news-card:hover .media-asset,
.product-content:hover .media-asset,
.about-content:hover .media-asset {
  transform: scale(1.05);
}

.about-image,
.product-image,
.news-image,
.product-content {
  overflow: hidden;
}

.mv-card,
.value-card,
.solution-card,
.news-card,
.product-content {
  transition: all 0.4s ease;
  border-radius: 12px;
}
.product-content {
  padding: 10px;
}
.mv-card:hover,
.value-card:hover,
.solution-card:hover,
.news-card:hover,
.product-content:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

/* 中文注释：产品模块的小屏专用类在运行时由脚本挂载，用于强制切换为竖向反转布局。 */
.product-content--mobile {
  display: flex !important;
}

.product-content--mobile .product-image {
  display: none;
}

.mv-card .module-media,
.value-card .module-media,
.solution-card .module-media {
  margin-bottom: 1.5rem;
}

.mv-card .module-media i {
  font-size: 3rem;
}

.value-card .module-media i {
  font-size: 2.5rem;
}

.solution-card .module-media {
  justify-content: flex-start;
}

.solution-card .module-media i {
  font-size: 2.5rem;
}

.contact-item .module-media {
  width: 30px;
  min-width: 30px;
  margin-top: 0.3rem;
}

.contact-item .module-media i {
  font-size: 1.5rem;
}

.product-section.is-alt {
  background: var(--light-color);
}

.product-section.is-reversed .product-content {
  direction: rtl;
}

.product-section.is-reversed .product-content > * {
  direction: ltr;
}

.page-error {
  padding: 160px 0 100px;
}

.page-error h2 {
  font-size: 2rem;
  color: var(--dark-color);
  margin-bottom: 1rem;
}

.page-error p {
  color: var(--text-light);
  margin-bottom: 0.8rem;
}

/* --- Scroll Animations --- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: opacity, transform;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.floating-contact {
  position: fixed;
  right: 18px;
  top: 50%;
  z-index: 1100;
  transform: translateY(-50%);
}

.floating-contact__group {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 10px 8px;
  background: #f3f4f6;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 36px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.16);
}

.floating-contact__item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-contact__button {
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #616876;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

.floating-contact__button:hover,
.floating-contact__item:hover .floating-contact__button,
.floating-contact__item:focus-within .floating-contact__button {
  background: #e2e6ec;
  color: #3f4654;
  transform: translateY(-1px);
}

.floating-contact__button i {
  font-size: 1.45rem;
}

.floating-contact__panel {
  position: absolute;
  top: 50%;
  right: calc(100% + 12px);
  opacity: 0;
  pointer-events: none;
  transform: translate(12px, -50%);
  transition:
    opacity 0.24s ease,
    transform 0.24s ease;
  filter: drop-shadow(0 10px 24px rgba(15, 23, 42, 0.14));
}

.floating-contact__item:hover .floating-contact__panel,
.floating-contact__item:focus-within .floating-contact__panel {
  opacity: 1;
  pointer-events: auto;
  transform: translate(0, -50%);
}

.floating-contact__panel--phone {
  width: 238px;
  min-height: 56px;
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--white);
  color: #3d4452;
  border: 1px solid #e8ebf0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  white-space: nowrap;
}

.floating-contact__panel--qrcode {
  width: 176px;
  padding: 12px;
  border-radius: 14px;
  background: var(--white);
  color: #3d4452;
  border: 1px solid #e8ebf0;
}

.floating-contact__label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.4;
  color: #6f7787;
}

.floating-contact__phone {
  display: inline-block;
  margin-top: 2px;
  color: #263041;
  text-decoration: none;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.floating-contact__phone:hover {
  color: var(--primary-color);
}

.floating-contact__qr {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 8px;
  background: var(--white);
  border-radius: 10px;
  padding: 8px;
}

.floating-contact__button--top {
  max-height: 0;
  margin-top: -4px;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.88);
  transition:
    max-height 0.28s ease,
    margin-top 0.28s ease,
    opacity 0.28s ease,
    transform 0.28s ease;
}

.floating-contact__button--top:hover {
  transform: scale(1) translateY(-1px);
}

.floating-contact__button--top.is-visible {
  max-height: 50px;
  margin-top: 0;
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.floating-contact__button--top.is-visible:hover {
  transform: translateY(-1px);
}

.floating-contact__button--top,
.floating-contact__button--top.is-visible {
  transition:
    max-height 0.28s ease,
    margin-top 0.28s ease,
    opacity 0.28s ease,
    transform 0.28s ease,
    background-color 0.3s ease;
}

/* 中文注释：桌面端默认隐藏移动导航与手机快捷栏，仅在移动断点内启用。 */
.logo {
  display: block;
  flex-shrink: 0;
  text-decoration: none;
}

.logo img {
  display: block;
}

.header-login-group--desktop {
  display: flex;
}

.nav-toggle,
.mobile-drawer,
.mobile-quickbar {
  display: none;
}

.nav-toggle {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: rgba(30, 136, 229, 0.06);
  color: var(--dark-color);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  transition:
    background-color 0.25s ease,
    color 0.25s ease;
}

.nav-toggle:hover {
  background: rgba(30, 136, 229, 0.08);
  color: var(--primary-color);
}

.nav-toggle__bar {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

body.is-mobile-menu-open {
  overflow: hidden;
}

body.is-mobile-menu-open .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.is-mobile-menu-open .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

body.is-mobile-menu-open .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 1200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.mobile-drawer__overlay {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(15, 23, 42, 0.4);
}

.mobile-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(360px, 88vw);
  height: 100%;
  padding: 1.25rem 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: -18px 0 40px rgba(15, 23, 42, 0.14);
  transform: translateX(100%);
  transition: transform 0.28s ease;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  overflow-y: auto;
}

body.is-mobile-menu-open .mobile-drawer {
  opacity: 1;
  pointer-events: auto;
}

body.is-mobile-menu-open .mobile-drawer__panel {
  transform: translateX(0);
}

.mobile-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.mobile-drawer__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark-color);
}

.mobile-drawer__close {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 12px;
  background: rgba(30, 136, 229, 0.08);
  color: var(--primary-color);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mobile-drawer__nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.mobile-drawer__link {
  display: block;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  color: var(--dark-color);
  text-decoration: none;
  font-weight: 600;
  background: rgba(248, 249, 250, 0.9);
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

.mobile-drawer__link:hover,
.mobile-drawer__link.active {
  background: rgba(30, 136, 229, 0.1);
  color: var(--primary-color);
  transform: translateX(2px);
}

.mobile-drawer__logins {
  display: grid;
  gap: 0.75rem;
  margin-top: auto;
}

.btn-login--drawer {
  width: 100%;
  min-width: 0;
}

.site-floating-tools {
  position: relative;
  z-index: 1100;
}

.mobile-quickbar__phone,
.mobile-quickbar__top {
  border: 0;
  text-decoration: none;
}

html {
  scroll-behavior: smooth;
}

@media (max-width: 768px) {
  /* 中文注释：手机端导航与快捷栏在 768 以下接管头部和悬浮联系交互。 */
  body {
    padding-bottom: calc(92px + env(safe-area-inset-bottom, 0px));
  }

  .container {
    padding: 0 18px;
  }

  .header .container {
    position: relative;
    gap: 0.75rem;
    padding: 0.85rem 70px 0.85rem 18px;
  }

  .logo {
    width: 158px;
  }

  .nav,
  .header-login-group--desktop,
  .floating-contact {
    display: none;
  }

  .header-actions {
    margin-left: auto;
    position: absolute;
    top: 50%;
    right: 18px;
    transform: translateY(-50%);
  }

  .nav-toggle,
  .mobile-quickbar {
    display: flex;
  }

  .mobile-drawer {
    display: block;
  }

  .hero {
    padding: 138px 0 84px;
    margin-top: 64px;
  }

  .hero-content {
    padding: 0 20px;
  }

  .hero-content h1 {
    font-size: 2rem;
    line-height: 1.25;
  }

  .hero-content p {
    font-size: 1.08rem;
    margin-bottom: 1.5rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
    max-width: 360px;
    margin: 0 auto;
  }

  .hero-buttons .btn,
  .cta .btn,
  .cta-box .btn {
    width: 100%;
  }

  .section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
  }

  .services,
  .features,
  .cta,
  .footer {
    padding: 64px 0;
  }

  .services-grid,
  .features-grid,
  .footer-content,
  .mv-grid,
  .values-grid,
  .solutions-grid,
  .news-grid,
  .faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .service-card,
  .feature-item {
    padding: 1.75rem;
  }

  .about-content,
  .product-content,
  .contact-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .product-section.is-reversed .product-content {
    direction: ltr;
  }

  .stats-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }

  .news-tabs {
    display: flex;
    gap: 0.7rem;
    overflow-x: auto;
    padding-bottom: 0.35rem;
    margin-bottom: 1.25rem;
    scrollbar-width: none;
  }

  .news-tabs::-webkit-scrollbar {
    display: none;
  }

  .news-tab {
    flex: 0 0 auto;
    min-height: 40px;
    padding: 0.7rem 1rem;
    border: 0;
    border-radius: 999px;
    background: rgba(30, 136, 229, 0.08);
    color: var(--text-color);
    font-weight: 600;
  }

  .news-tab.active {
    background: var(--primary-color);
    color: var(--white);
  }

  .news-card,
  .product-content {
    overflow: hidden;
  }

  .news-image,
  .product-image,
  .about-image,
  .map-container {
    width: 100%;
    border-radius: 18px;
    overflow: hidden;
    background: var(--light-color);
  }

  .about-image,
  .product-image {
    min-height: 220px;
  }

  .news-image {
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
  }

  .news-content {
    padding: 1.25rem 1.25rem 1.5rem;
  }

  .features-list,
  .solution-features {
    padding-left: 1.2rem;
    display: grid;
    gap: 0.75rem;
  }

  .scenario-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
  }

  .scenario-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.42rem 0.8rem;
    border-radius: 999px;
    background: rgba(30, 136, 229, 0.08);
    color: var(--primary-color);
    font-size: 0.88rem;
    font-weight: 600;
  }

  .contact-items {
    display: grid;
    gap: 1rem;
  }

  .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 1rem 0;
  }

  .map-container,
  .map-canvas,
  .map-placeholder,
  .map-iframe {
    min-height: 280px;
    height: 280px;
  }

  .mobile-quickbar {
    position: fixed;
    left: 50%;
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    transform: translateX(-50%);
    width: min(calc(100% - 24px), 420px);
    padding: 8px;
    gap: 8px;
    align-items: center;
    justify-content: space-between;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(226, 230, 236, 0.95);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
    backdrop-filter: blur(12px);
    z-index: 1150;
  }

  .mobile-quickbar__phone,
  .mobile-quickbar__top {
    min-height: 44px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.75rem 1rem;
    font-size: 0.92rem;
    font-weight: 600;
    transition:
      opacity 0.25s ease,
      transform 0.25s ease,
      background-color 0.25s ease,
      color 0.25s ease;
  }

  .mobile-quickbar__phone {
    flex: 1;
    background: rgba(30, 136, 229, 0.08);
    color: var(--primary-color);
  }

  .mobile-quickbar__top {
    flex: 0 0 auto;
    min-width: 118px;
    background: transparent;
    color: #5f6978;
    opacity: 0.58;
    pointer-events: none;
    transform: translateY(4px);
  }

  .mobile-quickbar__top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    background: rgba(95, 105, 120, 0.08);
    color: #344054;
  }
}

@media (max-width: 520px) {
  /* 中文注释：窄屏手机继续压缩留白和按钮尺寸，避免底部快捷栏与首屏按钮互相挤压。 */
  body {
    padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px));
  }

  .container {
    padding: 0 16px;
  }

  .header .container {
    padding: 0.8rem 62px 0.8rem 16px;
  }

  .logo {
    width: 140px;
  }

  .header-actions {
    right: 16px;
  }

  .hero {
    padding: 126px 0 72px;
  }

  .hero-content {
    padding: 0 16px;
  }

  .hero-content h1 {
    font-size: 1.75rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .btn,
  .mobile-drawer__link,
  .mobile-quickbar__phone,
  .mobile-quickbar__top {
    font-size: 0.88rem;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .service-card,
  .feature-item,
  .news-content {
    padding: 1.35rem;
  }

  .mobile-drawer__panel {
    width: 100vw;
    padding: 1rem 0.95rem 1.35rem;
  }

  .stats-grid {
    gap: 0.8rem;
  }

  .mobile-quickbar {
    width: calc(100% - 16px);
    bottom: calc(8px + env(safe-area-inset-bottom, 0px));
    padding: 6px;
  }

  .mobile-quickbar__phone,
  .mobile-quickbar__top {
    min-height: 40px;
    padding: 0.7rem 0.9rem;
  }

  .mobile-quickbar__top {
    min-width: 104px;
  }
}
