:root {
  --primary-color: #0b5bf0;
  --primary-dark: #0036a1;
  --secondary-color: #1a2a47;
  --text-main: #222222;
  --text-muted: #666666;
  --text-light: #666666;
  --bg-light: #f8fafc;
  --border-color: #e5e7eb;
  --container-padding: 20px;
  --container-max-width: 1200px;
  --primary-gradient: linear-gradient(135deg, #0b5bf0 0%, #0036a1 100%);
  --accent-color: #00c6ff;
  --success-color: #10b981;
}

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

body {
  font-family: sans-serif;
  color: var(--text-main);
  background-color: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  width: 100%;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; font-family: inherit; }

.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  fill: currentColor;
  vertical-align: -0.125em;
  flex-shrink: 0;
}
i.icon, i[class*="fa-"] {
  font-size: 1em;
  line-height: 1;
  color: inherit;
  display: inline-block;
  text-align: center;
}
.nav-arrow, .mobile-nav-arrow {
  font-size: 0.75em;
  margin-left: 4px;
  transition: transform 0.3s ease;
}
li:hover > a > .nav-arrow,
.mobile-nav > li.open > .mobile-nav-toggle > .mobile-nav-arrow {
  transform: rotate(180deg);
}

.section {
  padding: 80px 0;
}

.section-title-wrapper {
  margin-bottom: 50px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  color: #222;
  margin-bottom: 8px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--primary-color);
  font-weight: 500;
}

.link-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  font-size: 14px;
  background: transparent;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.link-btn:hover {
  background: var(--primary-color);
  color: white;
}
.link-btn i {
  font-size: 14px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  font-size: 16px;
  font-weight: 500;
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}
.btn-primary:hover::after {
  width: 300px;
  height: 300px;
}
.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(11, 91, 240, 0.35);
}
.btn-primary i {
  font-size: 16px;
}

/* ==================== Header ==================== */
.header {
  height: 80px;
  background: #ffffff;
  box-shadow: 0 2px 15px rgba(0,0,0,0.04);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 30px;
  font-weight: 900;
  color: var(--primary-color);
  font-style: italic;
}
.logo a {
  display: flex;
  align-items: center;
}
.logo a img {
  max-height: 50px;
  width: auto;
  display: block;
}
.logo-sub {
  font-size: 14px;
  font-style: normal;
  color: #333;
  margin-left: 8px;
  font-weight: 700;
}

.desktop-nav {
  display: flex;
  gap: 0;
}

.desktop-nav > li {
  position: relative;
  list-style: none;
}

.desktop-nav > li > a {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 16px;
  color: var(--text-main);
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
  padding: 28px 18px;
  text-decoration: none;
}

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

.desktop-nav > li > a.active::after {
  content: '';
  position: absolute;
  bottom: 20px;
  left: 18px;
  right: 18px;
  height: 2px;
  background-color: var(--primary-color);
}

/* 下拉箭头 */
.nav-arrow {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.desktop-nav > li:hover > a .nav-arrow {
  transform: rotate(180deg);
}

/* 二级菜单 */
.desktop-nav .submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: white;
  min-width: 220px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.12);
  border-radius: 8px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1001;
  border: 1px solid var(--border-color);
}

.desktop-nav > li:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.desktop-nav .submenu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: white;
  border-left: 1px solid var(--border-color);
  border-top: 1px solid var(--border-color);
}

.desktop-nav .submenu a {
  display: block;
  padding: 12px 24px;
  font-size: 14px;
  color: var(--text-main);
  transition: all 0.3s ease;
  text-decoration: none;
  white-space: nowrap;
}

.desktop-nav .submenu a:hover {
  color: var(--primary-color);
  background: var(--bg-light);
  padding-left: 28px;
}

.desktop-nav .submenu a.active {
  color: var(--primary-color);
  background: var(--bg-light);
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 18px;
}

.contact-text {
  display: flex;
  flex-direction: column;
}
.contact-label {
  font-size: 12px;
  color: var(--text-muted);
}
.contact-number {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text-main);
}

/* Mobile Nav */
.mobile-nav-overlay {
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.mobile-nav-overlay.open {
  opacity: 1;
  visibility: visible;
}
.mobile-nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: white;
  padding: 10px 20px 20px;
  border-top: 1px solid #eee;
  box-shadow: 0 10px 15px rgba(0,0,0,0.1);
  transform: translateY(-10px);
  transition: all 0.3s ease;
}
.mobile-nav-overlay.open .mobile-nav {
  transform: translateY(0);
}
.mobile-nav > li {
  border-bottom: 1px solid #f0f0f0;
  list-style: none;
}

.mobile-nav > li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  font-weight: 500;
  color: var(--text-main);
  text-decoration: none;
}

.mobile-nav > li > a.active {
  color: var(--primary-color);
}

/* 手风琴箭头 */
.mobile-nav-arrow {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.mobile-nav > li.open > a .mobile-nav-arrow {
  transform: rotate(180deg);
}

/* 手机端子菜单 */
.mobile-submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: #f8f9fa;
  border-radius: 4px;
  margin-bottom: 8px;
}

.mobile-nav > li.open .mobile-submenu {
  max-height: 300px;
}

.mobile-submenu a {
  display: block;
  padding: 12px 16px;
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 1px solid #eee;
}

.mobile-submenu a:last-child {
  border-bottom: none;
}

.mobile-submenu a.active {
  color: var(--primary-color);
}

/* ==================== Hero Section ==================== */
.hero {
  color: white;
  padding: 120px 0 160px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.hero-bg-slide {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  transform: scale(1.05);
  z-index: -3;
}
.hero-bg-slide.active {
  opacity: 1;
  transform: scale(1);
  transition: opacity 1s ease-in-out, transform 6s linear;
}


.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(5,21,50,0.85) 0%, rgba(8,52,146,0.6) 50%, rgba(13,94,255,0.4) 100%);
  z-index: -2;
}

.hero::before {
  content: 'HRUIS';
  position: absolute;
  top: 40%;
  left: 2%;
  transform: translateY(-50%);
  font-size: 18vw;
  font-weight: 900;
  color: rgba(255,255,255,0.05);
  z-index: -1;
  line-height: 1;
  pointer-events: none;
}

.hero .container {
  display: block;
  position: relative;
}

.hero-content {
  max-width: 650px;
}

.hero-title {
  font-size: 54px;
  font-weight: 800;
  margin-bottom: 24px;
  line-height: 1.2;
  letter-spacing: 1px;
}

.hero-subtitle {
  font-size: 22px;
  margin-bottom: 48px;
  opacity: 0.9;
  font-weight: 300;
}

.hero-features {
  display: flex;
  gap: 48px;
  margin-bottom: 48px;
}
.hero-feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.hero-feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
  font-size: 24px;
}
.hero-feature-text {
  font-size: 15px;
  font-weight: 500;
}

.hero-pagination {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  align-items: center;
  z-index: 10;
}
.hero-pagination .dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}
.hero-pagination .dot.active {
  width: 24px;
  background: white;
}

/* ==================== Products Section ==================== */
.products-section {
  background: var(--bg-light);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  width: 100%;
  box-sizing: border-box;
  align-items: stretch;
}

.product-card {
  background: white;
  border: 1px solid var(--border-color);
  padding: 32px 20px;
  text-align: center;
  transition: all 0.4s ease;
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 320px;
  box-sizing: border-box;
  overflow: hidden;
}

.product-card:hover {
  box-shadow: 0 15px 30px rgba(0,0,0,0.06);
  transform: translateY(-8px);
  border-color: transparent;
}

.product-card a {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
}

.product-image {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
  overflow: hidden;
}
.product-image img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.product-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #222;
  min-height: 24px;
}

.product-desc {
  font-size: 14px;
  color: var(--text-muted);
  min-height: 20px;
}

/* ==================== Advantages Section ==================== */
.advantages-section {
  background: url('https://images.unsplash.com/photo-1504328345606-18bbc8c9d7d1?auto=format&fit=crop&q=80&w=2000') center/cover no-repeat fixed;
  position: relative;
  color: white;
  padding: 80px 0;
  z-index: 1;
}
.advantages-section::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(10,52,136,0.92) 0%, rgba(21,87,209,0.85) 100%);
  z-index: -1;
}

.adv-header {
  margin-bottom: 50px;
}
.adv-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
}
.adv-subtitle {
  font-size: 16px;
  opacity: 0.9;
  font-weight: 300;
}

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

.adv-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 36px 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: all 0.3s ease;
  border-radius: 2px;
}
.adv-card:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-5px);
}

.adv-icon {
  background: transparent;
  color: white;
  width: 48px;
  height: 48px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 22px;
}

.adv-content h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}
.adv-content p {
  font-size: 14px;
  opacity: 0.8;
  line-height: 1.6;
}

/* ==================== About Us Section ==================== */
.about-container {
  display: flex;
  gap: 80px;
  align-items: center;
}
.about-image-wrapper {
  flex: 1;
  position: relative;
}
.about-image-wrapper::before {
  content: '';
  position: absolute;
  top: -24px;
  left: -24px;
  width: 60%;
  height: 80%;
  background: var(--primary-color);
  z-index: -1;
}
.about-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  background: rgba(11, 91, 240, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  border: 4px solid rgba(255,255,255,0.3);
  transition: all 0.3s;
  font-size: 28px;
}
.about-video-play:hover {
  transform: translate(-50%, -50%) scale(1.1);
  background: var(--primary-color);
}
.about-image-wrapper img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.about-content {
  flex: 1;
}
.about-title {
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #222;
}
.about-subtitle {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 28px;
  font-size: 18px;
}
.about-desc {
  color: var(--text-muted);
  margin-bottom: 40px;
  line-height: 1.8;
  font-size: 15px;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 48px;
}
.stat-item {
  display: flex;
  align-items: center;
  gap: 16px;
}
.stat-icon {
  color: var(--primary-color);
  width: 48px;
  height: 48px;
  background: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.stat-value {
  font-size: 26px;
  font-weight: 800;
  color: #222;
  line-height: 1.2;
}
.stat-label {
  font-size: 14px;
  color: var(--text-muted);
}

/* ==================== News Section ==================== */
.news-section {
  background: var(--bg-light);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  width: 100%;
  box-sizing: border-box;
  align-items: stretch;
}

.news-card {
  background: white;
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  transition: all 0.3s;
  border-radius: 2px;
  height: 100%;
  min-height: 380px;
  box-sizing: border-box;
  overflow: hidden;
}
.news-card:hover {
  box-shadow: 0 15px 30px rgba(0,0,0,0.08);
  transform: translateY(-5px);
}

.news-image {
  position: relative;
  height: 180px;
  overflow: hidden;
  flex-shrink: 0;
}
.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.news-card:hover .news-image img {
  transform: scale(1.08);
}

.news-date-badge {
  position: absolute;
  top: 0;
  left: 0;
  background: var(--primary-color);
  color: white;
  padding: 10px 16px;
  text-align: center;
  z-index: 2;
}
.news-date-day {
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 4px;
}
.news-date-ym {
  font-size: 12px;
  opacity: 0.9;
}

.news-content {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.news-category {
  color: var(--primary-color);
  font-size: 13px;
  font-weight: bold;
  margin-bottom: 8px;
}

.news-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #222;
  line-height: 1.5;
  min-height: 51px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-excerpt {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
  flex: 1;
  line-height: 1.6;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  min-height: 67px;
}

.news-link {
  font-size: 14px;
  color: var(--primary-color);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  text-decoration: none;
}
.news-link:hover {
  text-decoration: underline;
}
.news-link i {
  font-size: 12px;
}

/* ==================== CTA Section ==================== */
.cta-section {
  background: url('https://images.unsplash.com/photo-1581092160562-40aa08e78837?auto=format&fit=crop&q=80&w=2000') center/cover no-repeat fixed;
  position: relative;
  padding: 80px 0;
  color: white;
  overflow: hidden;
  z-index: 1;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, rgba(4,16,41,0.95) 0%, rgba(10,58,150,0.85) 100%);
  z-index: -1;
}
.cta-section::after {
  content: '';
  position: absolute;
  top: -50%; left: -10%; width: 50%; height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}
.cta-section .container {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cta-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 12px;
}
.cta-subtitle {
  font-size: 18px;
  opacity: 0.8;
  font-weight: 300;
}
.cta-btn-wrapper .btn-primary {
  background: var(--primary-color);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}
.cta-btn-wrapper .btn-primary:hover {
  background: #2570ff;
}

/* ==================== Footer ==================== */
.footer {
  background: #11141c;
  color: #8892a0;
  padding-top: 80px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2.5fr 1fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col-title {
  color: white;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 24px;
}

.footer-logo {
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: white;
  margin-bottom: 20px;
}
.footer-logo a img {
  max-height: 50px;
  width: auto;
  display: block;
}
.footer-logo-main {
  font-size: 30px;
  font-weight: 900;
  font-style: italic;
}
.footer-logo-sub {
  font-size: 14px;
}

.footer-desc {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 24px;
  padding-right: 20px;
}
.social-links {
  display: flex;
  gap: 12px;
}
.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 18px;
  background: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.3s ease;
  font-size: 16px;
}
.social-icon:hover {
  background: var(--primary-color);
  transform: translateY(-2px);
}

.footer-links li {
  margin-bottom: 14px;
}
.footer-links a {
  transition: color 0.3s;
  font-size: 14px;
}
.footer-links a:hover {
  color: white;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
  font-size: 14px;
  line-height: 1.5;
}
.footer-contact-icon {
  color: var(--primary-color);
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 16px;
}

.qr-code {
  background: white;
  padding: 8px;
  display: inline-block;
  width: 120px;
  height: 120px;
  border-radius: 2px;
}
.qr-code img {
  width: 100%;
  height: 100%;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}
.footer-bottom-links {
  display: flex;
  gap: 24px;
}
.footer-bottom-links a:hover {
  color: white;
}

/* ==================== Subpage Common ==================== */
.subpage-banner {
  height: 300px;
  background: var(--primary-color);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  overflow: hidden;
}
.subpage-banner-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.subpage-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(5,21,50,0.85) 0%, rgba(13,94,255,0.7) 100%);
  z-index: 1;
}
.subpage-banner-content {
  position: relative;
  z-index: 2;
}
.subpage-banner h1 {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 12px;
}
.subpage-banner p {
  font-size: 18px;
  opacity: 0.9;
}

.page-content {
  padding: 80px 0;
}

/* ==================== Form Styles ==================== */
.form-group { margin-bottom: 24px; }
.form-label { display: block; font-weight: 600; margin-bottom: 8px; color: var(--text-main); }
.form-control { width: 100%; padding: 14px 16px; border: 1px solid var(--border-color); border-radius: 4px; font-size: 15px; outline: none; transition: border-color 0.3s; font-family: inherit; }
.form-control:focus { border-color: var(--primary-color); }
textarea.form-control { resize: vertical; min-height: 120px; }

/* ==================== Category Filter & Pagination ==================== */
.category-filter { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; justify-content: center; }
.category-btn { padding: 8px 20px; border: 1px solid var(--border-color); background: #fff; color: var(--text-main); border-radius: 20px; font-size: 15px; cursor: pointer; transition: all 0.3s; }
.category-btn:hover, .category-btn.active { border-color: var(--primary-color); background: var(--primary-color); color: #fff; }

.pagination { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 48px; }
.page-btn { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border-color); background: #fff; color: var(--text-main); border-radius: 4px; font-size: 15px; cursor: pointer; transition: all 0.3s; }
.page-btn:hover:not(:disabled), .page-btn.active { border-color: var(--primary-color); background: var(--primary-color); color: #fff; }
.page-btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ==================== Grid Layouts ==================== */
.product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; }
.solution-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }

/* ==================== Solution Page (extracted inline styles) ==================== */
.solution-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.solution-card-image {
  height: 240px;
  overflow: hidden;
}
.solution-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.solution-card-image img:hover {
  transform: scale(1.05);
}
.solution-card-body {
  padding: 32px;
}
.solution-card-body h3 {
  font-size: 24px;
  margin-bottom: 16px;
  color: var(--text-main);
}
.solution-card-body p {
  color: var(--text-light);
  margin-bottom: 24px;
  line-height: 1.6;
}
.solution-feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.solution-feature-tag {
  background: rgba(13, 94, 255, 0.1);
  color: var(--primary-color);
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
}

/* ==================== Product Detail Page ==================== */
.product-detail-section {
  padding: 60px 0;
  background: var(--bg-light);
}

.product-detail-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

/* 产品图片画廊 */
.product-gallery {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.product-main-image {
  background: #f8fafc;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 16px;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-main-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.product-thumbnails {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.thumbnail {
  aspect-ratio: 1;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thumbnail:hover {
  border-color: var(--primary-color);
}

.thumbnail.active {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(13, 94, 255, 0.1);
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 产品信息面板 */
.product-info-panel {
  background: #fff;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.product-header {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
}

.product-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.product-subtitle {
  font-size: 15px;
  color: var(--text-muted);
}

.product-price-section {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
}

.price-label {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.price-value {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 4px;
}

.price-note {
  font-size: 13px;
  color: var(--text-muted);
}

.product-key-features {
  margin-bottom: 24px;
}

.key-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
}

.key-feature-item:last-child {
  border-bottom: none;
}

.key-feature-item .icon {
  color: var(--primary-color);
  flex-shrink: 0;
}

.key-feature-item span {
  font-size: 15px;
  color: var(--text-main);
}

.product-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.product-actions .btn {
  flex: 1;
  justify-content: center;
}

 .btn-large {
  padding: 16px 32px;
  font-size: 16px;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 500;
  background: transparent;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  border-radius: 2px;
  transition: all 0.3s ease;
  text-decoration: none;
  cursor: pointer;
}

.btn-outline:hover {
  background: var(--primary-color);
  color: #fff;
}

.product-services {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
}

.service-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
}

.service-item .icon {
  color: #22c55e;
}

/* 产品标签页 */
.product-tabs {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  margin-bottom: 60px;
  overflow: hidden;
}

.tabs-header {
  display: flex;
  border-bottom: 1px solid var(--border-color);
  background: #f8fafc;
}

.tab-btn {
  flex: 1;
  padding: 16px 24px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
}

.tab-btn:hover {
  color: var(--primary-color);
}

.tab-btn.active {
  color: var(--primary-color);
  background: #fff;
}

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary-color);
}

.tabs-content {
  padding: 32px;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

/* 技术参数表格 */
.specs-table-wrapper {
  overflow-x: auto;
}

.specs-table-wrapper table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table-wrapper table tr {
  border-bottom: 1px solid var(--border-color);
}

.specs-table-wrapper table tr:last-child {
  border-bottom: none;
}

.specs-table-wrapper table td,
.specs-table-wrapper table th {
  padding: 16px;
  font-size: 14px;
  border: 1px solid var(--border-color) !important;
}

.specs-table-wrapper table th {
  background: #f8fafc;
  font-weight: 600;
  color: var(--text-main);
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table tr {
  border-bottom: 1px solid var(--border-color);
}

.specs-table tr:last-child {
  border-bottom: none;
}

.specs-table td {
  padding: 16px;
  font-size: 14px;
}

.specs-table .spec-label {
  width: 20%;
  font-weight: 600;
  color: var(--text-main);
  background: #f8fafc;
}

.specs-table .spec-value {
  width: 30%;
  color: var(--text-muted);
}

/* 产品特点 */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feature-card {
  padding: 24px;
  background: #f8fafc;
  border-radius: 8px;
  transition: all 0.3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: rgba(13, 94, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  margin-bottom: 16px;
}

.feature-card h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-main);
}

.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* 应用领域 */
.applications-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.application-item {
  text-align: center;
}

.application-image {
  aspect-ratio: 4/3;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 16px;
}

.application-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.application-item:hover .application-image img {
  transform: scale(1.05);
}

.application-item h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text-main);
}

.application-item p {
  font-size: 13px;
  color: var(--text-muted);
}

/* 视频占位 */
.video-placeholder {
  aspect-ratio: 16/9;
  background: #f8fafc;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.video-icon {
  width: 80px;
  height: 80px;
  background: rgba(13, 94, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  margin-bottom: 16px;
}

.video-placeholder p {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 4px;
}

.video-placeholder span {
  font-size: 14px;
}

/* 相关产品 */
.related-products {
  margin-top: 60px;
}

.related-products .section-title-wrapper {
  margin-bottom: 32px;
}

/* 面包屑导航 */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  margin-bottom: 16px;
}

.breadcrumb a {
  color: var(--text-muted);
  transition: color 0.3s;
}

.breadcrumb a:hover {
  color: var(--primary-color);
}

.breadcrumb span {
  color: #ccc;
}

/* Banner 内的面包屑 - 白色文字 */
.subpage-banner .breadcrumb a {
  color: rgba(255,255,255,0.85);
}

.subpage-banner .breadcrumb a:hover {
  color: #fff;
}

.subpage-banner .breadcrumb span {
  color: rgba(255,255,255,0.6);
}

/* 响应式 */
@media (max-width: 1024px) {
  .product-detail-wrapper {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .applications-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .product-detail-section {
    padding: 40px 0;
  }
  
  .product-gallery {
    padding: 16px;
  }
  
  .product-info-panel {
    padding: 24px;
  }
  
  .product-title {
    font-size: 22px;
  }
  
  .tabs-header {
    flex-wrap: wrap;
  }
  
  .tab-btn {
    flex: 1 0 50%;
    padding: 12px 16px;
    font-size: 14px;
  }
  
  .tabs-content {
    padding: 24px;
  }
  
  .specs-table .spec-label,
  .specs-table .spec-value {
    width: auto;
    display: block;
  }
  
  .specs-table tr {
    display: block;
    padding: 12px 0;
  }
  
  .specs-table td {
    display: block;
    padding: 4px 0;
  }
  
  .applications-grid {
    grid-template-columns: 1fr;
  }
  
  .product-actions {
    flex-direction: column;
  }
}

/* ==================== News Detail Page (extracted inline styles) ==================== */
.news-detail-page {
  background: #f8fafc;
}
.news-detail-container {
  max-width: 900px;
}
.article-container {
  background: #fff;
  padding: 48px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.article-title {
  font-size: 32px;
  color: var(--text-main);
  margin-bottom: 24px;
  line-height: 1.4;
}
.article-meta {
  display: flex;
  gap: 24px;
  color: var(--text-light);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 24px;
  margin-bottom: 32px;
}
.article-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.article-meta-item i {
  font-size: 14px;
}
.article-image {
  margin-bottom: 40px;
  border-radius: 8px;
  overflow: hidden;
}
.article-image img {
  width: 100%;
  display: block;
}
.article-body {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-main);
}
.article-body p {
  margin-bottom: 16px;
}

/* ==================== About Page (extracted inline styles) ==================== */
.about-subtitle-accent {
  color: var(--primary-color);
  font-size: 20px;
  margin-bottom: 20px;
}
.about-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 40px;
}
.about-vision-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.about-vision-icon {
  color: var(--primary-color);
  flex-shrink: 0;
  font-size: 18px;
}
.about-vision-title {
  font-size: 18px;
  margin-bottom: 8px;
}
.about-vision-desc {
  color: var(--text-light);
  font-size: 14px;
}

.about-timeline-section {
  margin-top: 80px;
}
.about-timeline-heading {
  text-align: center;
  font-size: 32px;
  margin-bottom: 48px;
  color: var(--text-main);
}
.about-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}
.about-timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--primary-color);
  transform: translateX(-50%);
  opacity: 0.2;
}
.about-timeline-item {
  display: flex;
  margin-bottom: 40px;
  position: relative;
  width: 100%;
}
.about-timeline-item--right {
  justify-content: flex-end;
}
.about-timeline-item--left {
  justify-content: flex-start;
}
.about-timeline-content {
  width: 45%;
}
.about-timeline-item--right .about-timeline-content {
  text-align: right;
  padding-right: 40px;
}
.about-timeline-item--left .about-timeline-content {
  text-align: left;
  padding-left: 40px;
}
.about-timeline-dot {
  position: absolute;
  left: 50%;
  top: 0;
  width: 20px;
  height: 20px;
  background: var(--primary-color);
  border-radius: 50%;
  transform: translate(-50%, 4px);
  border: 4px solid #fff;
  box-shadow: 0 0 0 4px rgba(13, 94, 255, 0.2);
}
.about-timeline-year {
  font-size: 24px;
  color: var(--primary-color);
  margin-bottom: 8px;
}
.about-timeline-title {
  font-size: 18px;
  color: var(--text-main);
  margin-bottom: 12px;
}
.about-timeline-desc {
  color: var(--text-light);
  font-size: 15px;
}

/* ==================== Contact Page (extracted inline styles) ==================== */
.contact-info-title {
  font-size: 32px;
  margin-bottom: 12px;
  color: var(--text-main);
}
.contact-info-desc {
  color: var(--text-light);
  margin-bottom: 40px;
}
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.contact-info-item {
  display: flex;
  gap: 16px;
}
.contact-info-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(13, 94, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary-color);
  font-size: 20px;
}
.contact-info-label {
  font-size: 18px;
  margin-bottom: 8px;
}
.contact-info-value {
  color: var(--text-light);
  line-height: 1.6;
}
.contact-form-card {
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}
.contact-form-title {
  font-size: 24px;
  margin-bottom: 32px;
}
.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}
.contact-form-submit {
  width: 100%;
  justify-content: center;
}

/* ==================== Animations ==================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

[data-animate] {
  opacity: 0;
  will-change: opacity, transform;
}

[data-animate="fade-up"].animate-in {
  animation: fadeInUp 0.6s ease-out forwards;
}

[data-animate="fade-left"].animate-in {
  animation: fadeInLeft 0.7s ease-out forwards;
}

[data-animate="fade-right"].animate-in {
  animation: fadeInRight 0.7s ease-out forwards;
}

[data-animate="fade-down"].animate-in {
  animation: fadeInDown 0.5s ease-out forwards;
}

[data-animate="scale-in"].animate-in {
  animation: scaleIn 0.5s ease-out forwards;
}

[data-header-animate].animate-in {
  animation: fadeInUp 0.5s ease-out forwards;
}

.header .logo[data-header-animate].animate-in {
  animation-name: fadeInLeft;
}

.header .desktop-nav[data-header-animate].animate-in {
  animation-name: fadeInDown;
}

.header .header-contact[data-header-animate].animate-in {
  animation-name: fadeInRight;
}

.subpage-banner-content[data-animate="fade-up"].animate-in h1 {
  animation: fadeInUp 0.5s ease-out forwards;
}
.subpage-banner-content[data-animate="fade-up"].animate-in p {
  animation: fadeInUp 0.5s ease-out 0.1s forwards;
  opacity: 0;
}

/* ==================== Responsive ==================== */
@media (max-width: 1200px) {
  .hero-content { flex: 1; }
  .hero-image { flex: 1; }
  .about-container { gap: 40px; }
}

@media (max-width: 1024px) {
  .hero-features { gap: 24px; flex-wrap: wrap; }
  .products-grid, .adv-grid, .news-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .footer-top { grid-template-columns: repeat(3, 1fr); }
  .about-container { flex-direction: column; }
  .about-image-wrapper { width: 100%; }
  .product-card { min-height: 300px; padding: 28px 16px; }
  .news-card { min-height: 360px; }
}

@media (max-width: 768px) {
  .header-contact, .desktop-nav { display: none; }
  .mobile-menu-btn { display: block; }
  .section-title-wrapper { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 30px; }

  .hero { padding: 60px 0 100px; text-align: center; }
  .hero::before { display: none; }
  .hero .container { flex-direction: column; gap: 40px; }
  .hero-title { font-size: 36px; }
  .hero-features { justify-content: center; }
  .hero-img-element { margin-right: 0; }

  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .adv-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .news-grid { grid-template-columns: 1fr; gap: 16px; }

  .product-card { min-height: 260px; padding: 20px 12px; }
  .product-image { height: 120px; margin-bottom: 12px; }
  .product-name { font-size: 15px; }
  .product-desc { font-size: 13px; }

  .news-card { min-height: auto; }
  .news-image { height: 160px; }
  .news-content { padding: 16px; }
  .news-title { font-size: 16px; }

  .adv-card { flex-direction: column; align-items: center; text-align: center; }

  .cta-section .container { flex-direction: column; text-align: center; gap: 30px; }
  .cta-title { font-size: 28px; }

  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; justify-content: center; }
  .footer-bottom-links { justify-content: center; flex-wrap: wrap; }

  .subpage-banner { height: 200px; }
  .subpage-banner h1 { font-size: 32px; }
  .subpage-banner p { font-size: 16px; }
  .product-detail-grid, .contact-grid, .solution-grid { grid-template-columns: 1fr; }

  .about-vision-grid { grid-template-columns: 1fr; }
  .contact-form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; gap: 16px; }
  .adv-grid { grid-template-columns: 1fr; }
  .product-card { padding: 24px 16px; min-height: auto; }
  .product-image { height: 140px; }
  .product-name { font-size: 16px; }
}

.breadcrumb-nav {
  background: var(--bg-light);
  border-bottom: 1px solid var(--border-color);
}
.breadcrumb-nav .breadcrumb {
  padding: 16px 0;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 0;
}
.breadcrumb-nav .breadcrumb a {
  color: var(--text-muted);
  transition: color 0.3s;
}
.breadcrumb-nav .breadcrumb a:hover {
  color: var(--primary-color);
}
.breadcrumb-sep {
  margin: 0 8px;
  color: #ccc;
}
.breadcrumb-current {
  color: var(--primary-color);
  font-weight: 500;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}
.spec-table tr {
  border-bottom: 1px solid var(--border-color);
}
.spec-table tr:hover {
  background: var(--bg-light);
}
.spec-label {
  width: 40%;
  padding: 14px 16px;
  font-weight: 600;
  color: var(--text-main);
  background: var(--bg-light);
}
.spec-value {
  padding: 14px 16px;
  color: var(--text-muted);
}

/* ==================== 右侧悬浮按钮 ==================== */
.floating-sidebar {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.floating-btn {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(11, 91, 240, 0.35);
  transition: all 0.3s ease;
  border: none;
  font-size: 22px;
}
.floating-btn .icon {
  width: 22px;
  height: 22px;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-btn:hover {
  background: var(--primary-dark);
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(11, 91, 240, 0.5);
}

.floating-btn .icon {
  width: 24px;
  height: 24px;
}

/* 悬浮按钮展开内容 */
.floating-btn-content {
  position: absolute;
  right: 68px;
  top: 50%;
  transform: translateY(-50%) scale(0);
  transform-origin: right center;
  background: white;
  border-radius: 8px;
  padding: 12px 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  white-space: nowrap;
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
  font-size: 14px;
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.floating-btn:hover .floating-btn-content {
  transform: translateY(-50%) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.floating-btn-content::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid white;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

/* 微信二维码 */
.wechat-qr {
  width: 120px;
  height: 120px;
  padding: 4px;
}

.wechat-qr img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 返回顶部按钮 - 默认隐藏 */
.back-to-top {
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ==================== 手机端底部悬浮横栏 ==================== */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: white;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.08);
  border-top: 1px solid var(--border-color);
}

.mobile-bottom-bar-content {
  display: flex;
  align-items: center;
  height: 60px;
}

.mobile-bar-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 100%;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 12px;
  transition: all 0.3s;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.mobile-bar-item:hover,
.mobile-bar-item.active {
  color: var(--primary-color);
}

.mobile-bar-item .icon {
  width: 22px;
  height: 22px;
}

/* 微信弹窗 */
.wechat-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.6);
  align-items: center;
  justify-content: center;
}

.wechat-modal.show {
  display: flex;
}

.wechat-modal-content {
  background: white;
  border-radius: 12px;
  padding: 32px;
  text-align: center;
  max-width: 280px;
  width: 90%;
}

.wechat-modal-content h3 {
  margin-bottom: 16px;
  font-size: 18px;
  color: var(--text-main);
}

.wechat-modal-content img {
  width: 180px;
  height: 180px;
  margin-bottom: 16px;
}

.wechat-modal-content p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 20px;
}

.wechat-modal-close {
  padding: 10px 32px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
}

/* 响应式 */
@media (max-width: 768px) {
  .floating-sidebar {
    display: none;
  }
  
  .mobile-bottom-bar {
    display: block;
  }
  
  body {
    padding-bottom: 60px;
  }
}

.partners-section {
  background: #fff;
  padding: 60px 0;
}
.partners-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  align-items: center;
}
.partner-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-size: 18px;
  font-weight: 700;
  color: #999;
  transition: all 0.3s;
}
.partner-item:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}
.certifications {
  margin-top: 60px;
}
.certifications-title {
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: var(--text-main);
}
.certifications-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.cert-item {
  text-align: center;
  padding: 32px 20px;
  background: var(--bg-light);
  border-radius: 8px;
  transition: all 0.3s;
}
.cert-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.cert-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(11, 91, 240, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 28px;
  color: var(--primary-color);
}
.cert-name {
  display: block;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-main);
}
.cert-desc {
  font-size: 14px;
  color: var(--text-muted);
}
@media (max-width: 768px) {
  .partners-grid { grid-template-columns: repeat(3, 1fr); }
  .certifications-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
}
