/* 智能清洁机器人与商用扫地机模板 - 卓誉智能 1:1 对标样式系统 + 高级视效引擎 */
:root {
  --cr-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --cr-bg: #ffffff;
  --cr-bg-alt: #f8fafc;
  --cr-text: #1e293b;
  --cr-text-muted: #64748b;
  --cr-accent: #1f8e83; /* 卓誉智能主青绿 */
  --cr-accent-hover: #176f66;
  --cr-border: #e2e8f0;
  --cr-radius: 8px;
  --cr-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  --cr-container-width: 1280px;
}

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

body.cleaner-robot-theme {
  font-family: var(--cr-font);
  background-color: var(--cr-bg);
  color: var(--cr-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

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

.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  background: var(--cr-accent);
  color: #fff;
  padding: 10px 15px;
  z-index: 999;
}
.skip-link:focus { top: 20px; }

.cr-container {
  max-width: var(--cr-container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ================= 卓誉式 Header & Mega Menu 样式 ================= */
#c-header {
  position: sticky;
  top: 0;
  z-index: 99999;
  background: #ffffff;
  border-bottom: 1px solid var(--cr-border);
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
  transition: all 0.3s ease;
}

#c-header.scrolled {
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
  position: relative;
}

.logo {
  float: left;
}
.logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 90px;
}
.logo-icon-mark {
  font-size: 28px;
  color: var(--cr-accent);
}
.logo-text-group {
  display: flex;
  flex-direction: column;
}
.logo-name {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
}
.logo-sub {
  font-size: 9px;
  letter-spacing: 1.5px;
  color: var(--cr-accent);
  font-weight: 700;
}
.logo img {
  max-height: 46px;
  width: auto;
}

/* 语言切换 (EN) */
a.language_a {
  display: block;
  font-size: 14px;
  color: #333333;
  line-height: 90px;
  padding-left: 10px;
  font-weight: 600;
  order: 3;
}
a.language_a:hover {
  color: var(--cr-accent);
}

/* 旗下公司下拉按钮与面板 */
.other_company {
  padding-left: 20px;
  position: relative;
  order: 2;
  margin-left: 20px;
}
.other_company:before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  margin-top: -10px;
  width: 1px;
  height: 20px;
  background: #cbd5e1;
}
.other_company_btn {
  padding: 0 16px;
  line-height: 90px;
  display: flex;
  align-items: center;
  color: #333333;
  font-size: 15px;
  cursor: pointer;
}
.other_company_btn i {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-left: 8px;
  border-right: 2px solid #666;
  border-bottom: 2px solid #666;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.other_company:hover .other_company_btn i {
  transform: rotate(-135deg);
}

.other_company_c {
  position: absolute;
  top: 90px;
  right: 0;
  background: #ffffff;
  border: 1px solid var(--cr-border);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  border-radius: 4px;
  min-width: 200px;
  padding: 10px 0;
  display: none;
}
.other_company:hover .other_company_c {
  display: block;
}
.other_company_c a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  color: #475569;
}
.other_company_c a:hover {
  background: #f1f5f9;
  color: var(--cr-accent);
}

/* 主导航 nav 与 巨型 Mega Menu (b_nav / b_nav2) */
.nav {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  order: 1;
  margin-left: auto;
  margin-right: 20px;
}

.nav li {
  position: relative;
  padding: 0 22px;
}

.nav li a {
  display: block;
  font-size: 17px;
  color: #1e293b;
  text-align: center;
  line-height: 90px;
  height: 90px;
  font-weight: 500;
  border-bottom: 3px solid transparent;
  transition: all 0.2s ease;
}

.nav li:hover > a,
.nav li.active > a {
  color: var(--cr-accent);
  border-bottom: 3px solid var(--cr-accent);
}

/* 关于我们下拉 b_nav */
.nav li .b_nav {
  position: absolute;
  top: 90px;
  left: 0;
  min-width: 180px;
  background-color: #ffffff;
  border: 1px solid var(--cr-border);
  box-shadow: 0 15px 30px rgba(0,0,0,0.08);
  border-radius: 0 0 8px 8px;
  padding: 15px 0;
  display: none;
  z-index: 1000;
}
.nav li:hover .b_nav {
  display: block;
}
.nav li .b_nav a {
  display: block;
  color: #475569;
  font-size: 15px;
  line-height: 2.2;
  height: auto;
  padding: 6px 24px;
  text-align: left;
  border-bottom: none !important;
}
.nav li .b_nav a:hover {
  color: var(--cr-accent);
  background-color: var(--cr-bg-alt);
}

/* 巨型 Mega Menu: b_nav2 (完全对标卓誉智能图文两级布局) */
.nav li.mega-li {
  position: static;
}
.nav li .b_nav2 {
  position: absolute;
  top: 90px;
  left: 0;
  width: 100%;
  background-color: #ffffff;
  border-top: 1px solid var(--cr-border);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  padding: 40px 0;
  display: none;
  z-index: 1000;
}
.nav li.mega-li:hover .b_nav2 {
  display: block;
}
.b_nav2 .container2 {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}
.b_nav2 dl {
  display: flex;
  align-items: center;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid #f0f0f0;
}
.b_nav2 dl:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
}
.b_nav2 dl dt a {
  display: block;
  width: 206px;
  line-height: 60px;
  height: 60px;
  border-radius: 8px;
  background: var(--cr-accent);
  font-size: 18px;
  font-weight: 700;
  color: #ffffff !important;
  text-align: center;
  border: none !important;
}
.b_nav2 dl dt a:hover {
  background: var(--cr-accent-hover);
}
.b_nav2 dl .sec2 {
  display: flex;
  align-items: center;
  padding-left: 60px;
  width: calc(100% - 206px);
  gap: 30px;
}
.b_nav2 dl .sec2 dd a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: #475569;
  border: none !important;
  height: 60px;
  line-height: 1;
}
.b_nav2 dl .sec2 dd a i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--cr-border);
  border-radius: 50%;
  font-style: normal;
  font-size: 16px;
  background: #f8fafc;
  transition: all 0.2s ease;
}
.b_nav2 dl .sec2 dd a:hover {
  color: var(--cr-accent) !important;
}
.b_nav2 dl .sec2 dd a:hover i {
  border-color: var(--cr-accent);
  background: var(--cr-accent);
  color: #fff;
}

.menu-button {
  display: none;
}

/* ================= 卓誉风格 Swiper 全屏大轮播 Hero ================= */
.cr-swiper-hero {
  position: relative;
  width: 100%;
  height: 580px;
  overflow: hidden;
  background: #0f172a;
}
.cr-swiper-wrapper {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
.cr-swiper-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}
.cr-swiper-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.4) 60%, transparent 100%);
}
.cr-swiper-content {
  position: relative;
  z-index: 10;
  color: #ffffff;
  max-width: 680px;
}
.cr-swiper-tag {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 2px;
  background: rgba(31, 142, 131, 0.85);
  color: #fff;
  padding: 4px 14px;
  border-radius: 4px;
  margin-bottom: 20px;
  font-weight: 600;
}
.cr-swiper-title {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
}
.cr-swiper-desc {
  font-size: 18px;
  color: #cbd5e1;
  margin-bottom: 32px;
}

/* 轮播按钮与指示器 */
.cr-swiper-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  font-size: 20px;
  transition: all 0.2s ease;
}
.cr-swiper-btn:hover {
  background: var(--cr-accent);
  border-color: var(--cr-accent);
}
.cr-swiper-prev { left: 30px; }
.cr-swiper-next { right: 30px; }

.cr-swiper-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 20;
}
.cr-swiper-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
}
.cr-swiper-dot.active {
  width: 32px;
  border-radius: 6px;
  background: var(--cr-accent);
}

/* ================= 多 Tab 解决方案选项卡样式 ================= */
.cr-tab-nav {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.cr-tab-btn {
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid var(--cr-border);
  color: #334155;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}
.cr-tab-btn:hover,
.cr-tab-btn.active {
  background: var(--cr-accent);
  color: #ffffff;
  border-color: var(--cr-accent);
  box-shadow: 0 6px 20px rgba(31, 142, 131, 0.25);
}

.cr-tab-pane {
  display: none;
}
.cr-tab-pane.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 核心通用 Section & 浮雕 Cards */
.cr-section { padding: 90px 0; background: #ffffff; }
.cr-section-alt { background: var(--cr-bg-alt); border-top: 1px solid var(--cr-border); border-bottom: 1px solid var(--cr-border); }

.cr-sec-header { text-align: center; max-width: 700px; margin: 0 auto 56px; }
.cr-sec-subtitle { color: var(--cr-accent); font-size: 13px; letter-spacing: 2px; font-weight: 700; margin-bottom: 10px; text-transform: uppercase; }
.cr-sec-title { font-size: 34px; font-weight: 800; color: #0f172a; margin-bottom: 14px; }
.cr-sec-desc { color: var(--cr-text-muted); font-size: 16px; }

.cr-card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 28px; }

/* 3D 视差倾斜与悬浮高光样式 (Vanilla-Tilt) */
.cr-card {
  background: #ffffff;
  border: 1px solid var(--cr-border);
  border-radius: var(--cr-radius);
  padding: 36px 32px;
  box-shadow: var(--cr-shadow);
  transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.15s ease-out;
  transform-style: preserve-3d;
  perspective: 1000px;
  position: relative;
  overflow: hidden;
}

.cr-card:hover {
  box-shadow: 0 20px 40px rgba(31, 142, 131, 0.15);
  border-color: rgba(31, 142, 131, 0.4);
}

.cr-card-glare {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255,255,255,0.4) 0%, transparent 60%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.cr-card:hover .cr-card-glare {
  opacity: 1;
}

.cr-product-card {
  background: #ffffff;
  border: 1px solid var(--cr-border);
  border-radius: var(--cr-radius);
  overflow: hidden;
  box-shadow: var(--cr-shadow);
  transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.15s ease-out;
  transform-style: preserve-3d;
}
.cr-product-card:hover {
  border-color: var(--cr-accent);
  box-shadow: 0 20px 40px rgba(31, 142, 131, 0.18);
}
.prod-thumb { height: 220px; overflow: hidden; background: #f1f5f9; }
.prod-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.cr-product-card:hover .prod-thumb img { transform: scale(1.06); }
.prod-content { padding: 24px; }
.prod-tag { display: inline-block; font-size: 12px; color: var(--cr-accent); background: rgba(31, 142, 131, 0.08); font-weight: 600; padding: 2px 10px; border-radius: 4px; margin-bottom: 10px; }
.prod-title { font-size: 19px; color: #0f172a; font-weight: 700; margin-bottom: 10px; }
.prod-specs { display: flex; gap: 16px; margin: 16px 0; padding: 12px 0; border-top: 1px solid var(--cr-border); border-bottom: 1px solid var(--cr-border); font-size: 13px; color: var(--cr-text-muted); }
.link-arrow { color: var(--cr-accent); font-weight: 600; font-size: 14px; }

/* ================= AOS 滚动淡入浮起动画引擎 ================= */
[data-aos] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

[data-aos="fade-up"].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

[data-aos="fade-down"] {
  transform: translateY(-30px);
}
[data-aos="fade-down"].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

[data-aos="zoom-in"] {
  transform: scale(0.92);
}
[data-aos="zoom-in"].aos-animate {
  opacity: 1;
  transform: scale(1);
}

/* 询盘面板 */
.cr-inquiry-box {
  background: #ffffff;
  border: 1px solid var(--cr-border);
  border-radius: 16px;
  padding: 50px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.06);
}
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; color: #334155; margin-bottom: 8px; }
.form-control { width: 100%; background: #f8fafc; border: 1px solid var(--cr-border); border-radius: 6px; padding: 12px 16px; color: #0f172a; font-family: inherit; font-size: 14px; }
.form-control:focus { outline: none; border-color: var(--cr-accent); background: #ffffff; }
.btn-submit { width: 100%; background: var(--cr-accent); color: #fff; font-weight: 700; padding: 14px; border: none; border-radius: 6px; cursor: pointer; font-size: 15px; }

/* 页脚 */
.cr-footer { background: #1e293b; color: #cbd5e1; padding: 80px 0 0; }
.cr-footer-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 60px; margin-bottom: 60px; }
.footer-logo { font-size: 22px; font-weight: 800; color: #ffffff; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.footer-logo .logo-icon { color: var(--cr-accent); }
.footer-desc { color: #94a3b8; font-size: 14px; margin-bottom: 24px; }
.footer-cert-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-cert-tags .tag { font-size: 12px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); color: #cbd5e1; padding: 4px 10px; border-radius: 4px; }
.cr-footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.nav-col h4 { font-size: 16px; color: #ffffff; font-weight: 700; margin-bottom: 20px; }
.nav-col a { display: block; font-size: 14px; color: #94a3b8; margin-bottom: 12px; }
.nav-col a:hover { color: #ffffff; }
.cr-footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 24px 0; font-size: 13px; color: #64748b; }
.bottom-inner { display: flex; justify-content: space-between; }
.bottom-links a { margin-left: 20px; color: #94a3b8; }

/* 响应式 */
@media (max-width: 992px) {
  .nav {
    display: none;
    position: absolute;
    top: 90px;
    left: 0;
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid var(--cr-border);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    flex-direction: column;
    padding: 10px 0;
    z-index: 99999;
  }
  
  .nav.mobileNavShow {
    display: flex !important;
  }

  .nav li {
    padding: 0;
    width: 100%;
  }

  .nav li a {
    height: 52px;
    line-height: 52px;
    text-align: left;
    padding: 0 24px;
    border-bottom: 1px solid #f1f5f9;
  }

  .nav li .b_nav,
  .nav li .b_nav2 {
    position: static;
    box-shadow: none;
    border: none;
    background: #f8fafc;
    padding: 0;
    display: block !important;
  }
  
  .b_nav2 .container2 {
    padding: 10px 20px;
  }

  .b_nav2 dl {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 10px;
    margin-bottom: 10px;
  }

  .b_nav2 dl dt a {
    width: 100%;
    height: 40px;
    line-height: 40px;
    font-size: 15px;
  }

  .b_nav2 dl .sec2 {
    width: 100%;
    padding-left: 0;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
  }

  .other_company { display: none; }
  .menu-button { display: block; background: none; border: none; cursor: pointer; padding: 10px; }
  .menu-button .bar { display: block; width: 24px; height: 2px; background: #333; margin: 5px 0; transition: all 0.3s ease; }
  .menu-button.active .bar:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .menu-button.active .bar:nth-child(2) { opacity: 0; }
  .menu-button.active .bar:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

  .cr-swiper-hero { height: 400px; }
  .cr-swiper-title { font-size: 28px; }
  .cr-inquiry-box, .cr-footer-grid { grid-template-columns: 1fr; }
}
