 /* 基础重置 */
    @charset "UTF-8";
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: '微软雅黑', sans-serif;
}
:root {
      /* 基本色系 */
      --brand-primary: #a8001f;         /* k8凯发(中国)天生赢家品牌主色 */
 --brand-secondary: #0066b3;       /* k8凯发(中国)天生赢家品牌次色 */
 --text-primary: #333;
 --text-secondary: #666;
 --border-color: #eaeaea;
 --background-light: #f8f9fa;
      
      /* 新增功能色 */
      --state-success: #28a745;         /* 成功状态 */
 --state-warning: #ffc107;         /* 警告状态 */
 --state-danger: #dc3545;          /* 错误状态 */
      
      /* 新增交互色 */
      --interactive-hover: #c40024;     /* 主色悬停 */
 --interactive-active: #8a0019;    /* 主色点击态 */
 --link-visited: #551a8b;          /* 已访问链接 */
 --base-font-size: 16px;
}
html {
	scroll-behavior: smooth;
}
#yuyue {
  scroll-margin-top: 100px; /* 根据需求调整偏移量 */
}
body {
	color: var(--text-primary);
	line-height: 1.6;
	background-color: #fff;
}
a {
	text-decoration: none;
	color: inherit;
	transition: color 0.3s;
}
a:hover {
	color: var(--interactive-hover);
}
aside span a:hover, footer .foot_nav .big a:hover, .tel a:hover {
	color: var(--brand-secondary);
}
/* ========== 导航栏优化 ========== */
.navbar {
	max-width: 1920px;
	 margin: 0 auto;
	 padding: 1rem 6rem;
	 display: flex;
	 justify-content: space-between;
	 align-items: center;
   }
   .navbar-outer { 
	   position: fixed;
	   top: 0;
	   left: 0;
	   width: 100%;
	   z-index: 1000;
	   box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	   background: #fff;
   }
   .navbar-outer.scrolled {
	   box-shadow: 0 2px 10px rgba(0,0,0,0.2) !important;
   }
   .logo {   
	   width: clamp(150px, 12vw, 200px);
	   height: auto; /* 保持宽高比 */
	   transition: width 0.3s ease; /* 添加平滑过渡效果 */
	   object-fit: contain; /* 保持图片比例 */
	   display: block; /* 消除图片下方的间隙 */
   }
#nav-links {
	display: flex;
	gap: 1rem;
	font-size: clamp(0.9rem, 1.1vw + 2px, 1.5rem);
}
#nav-links a {
	text-decoration: none;
	color: var(--text-primary);
	font-weight: 500;
	transition: color 0.3s;
	border-radius: 4px;
	position: relative;
	display: inline-flex;
}
#nav-links a:hover {
	color: var(--brand-primary);
	background-color: var(--background-light);
}
 #nav-links a::after {
 content: "";
 position: absolute;
 bottom: -2px;
 left: 0;
 width: 0;
 height: 2px;
 background: var(--brand-primary);
 transition: width 0.3s ease;
}
 #nav-links a:hover::after {
 width: 100%;
}
.hamburger {
	background: none;
	display: none;
	cursor: pointer;
	border: none;
	padding: 0;
	font-size: 1.5rem;
	color: var(--brand-primary);
}
 .phone {
      color: #0066b3;
      font-weight: 500;
      height: 100%;
      padding-left: 1rem;
      text-align: center;
      border-left: 1px solid #918f8f;
  }
  .dropdown-menu {
      position: absolute;
      top: 70%;
      left: 0;
      background-color: white;
      border: 1px solid #eee;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
      align-items: center;
      display: none;
      gap: 3rem;
      justify-content: center;
      width: 100%;
      padding: 0.8rem 5rem;
      z-index: 100;
  }
  .dropdown-menu.active {
      display: flex;
  }
  /* 只在PC端应用悬停效果 */
  @media (min-width: 769px) {
      .dropdown:hover .dropdown-menu {
          display: flex;
      }
  }
  @media (max-width: 768px) {
      .dropdown {      position: relative;    }
      .phone {      display: none;      }
      .dropdown-menu {
          position: static;
          align-items: center;
          display: none;
          gap: 1rem;
          flex-direction: column;
          justify-content: center;
          padding: 1rem 1rem 0rem 1rem;
          align-items: flex-start;
          border: none;
          box-shadow: none;
      }
  }
/* ========== 横幅区域优化 ========== */
/* banner距离顶部的高度 */
.navbar-outer + .banner-container {
    margin-top: calc(1rem * 2 + 36px); /* 根据导航栏的padding和logo高度计算 */
}
@media (max-width: 1200px) {
    .navbar-outer + .banner-container {
        margin-top: calc(1rem * 2 + clamp(150px, 12vw, 200px) * 0.2);
    }
}
@media (max-width: 768px) {
    .navbar-outer + .banner-container {
        margin-top: calc(0.5rem * 2 + clamp(100px, 25vw, 150px) * 0.3);
    }
}
 .banner-container {	
	position: relative;
	overflow: hidden;
	aspect-ratio: 16/5; 
}
.banner {
	display: none;
	transition: opacity 0.5s ease;
	width: 100%;
	opacity: 0;
}
.banner.active {
	display: block;
	opacity: 1;
}
.banner-dots {
	position: absolute;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 10px;
}
.dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.5);
	cursor: pointer;
	transition: background 0.3s ease;
}
.dot.active {
	background: #fff;
}
/* ========== 面包屑导航优化 ========== */
    .bread {
	padding: 0.5rem 6rem;
	background-color: var(--background-light);
}
.bread p.dqwz {
	font-size: 0.9rem;
	line-height: 1.5rem;
	color: var(--text-secondary);
	padding-left: 20px;
	background: url(/images/home.png) no-repeat left center;
}
.bread p.dqwz a {
	color: var(--text-primary);
	transition: color 0.3s;
}
.bread p.dqwz a:hover {
	color: var(--brand-primary);
}
/* ========== 主内容区优化 ========== */
main {
	padding: 1rem 6rem 1rem 6rem;
	overflow: hidden;
	height: auto;
	display: flex;
	flex-wrap: wrap;
	gap: 2%;
}
main section {
	width: 73%;
	background-color: #fff;
	padding: 1.8rem;
	border-radius: 10px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
	margin-bottom: 2rem;
}
section p {
	font-size: clamp(1rem, 1.1vw, 1.2rem);
	line-height: 1.8;
	margin: 1rem 0;
	text-align: justify;
}
section a:hover {
	color: var(--interactive-hover);
}
main aside {
	width: 25%;
	 display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
/* ========== 样本下载网格布局 ========== */
/* 新增：突出显示说明书下载链接 */
.manual-download-link {
	display: inline-block;
	padding: 0.5rem 1rem;
	background-color: var(--brand-primary);
	color: white;
	font-weight: bold;
	border-radius: 5px;
	text-decoration: none;
	border-bottom: none;
	transition: all 0.3s ease;
	margin: 1rem 1rem;
	float:right;
}
.manual-download-link:hover {
	background-color: var(--interactive-hover);
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
	color: white !important;
}
.download-grid {
	width:100%;
	overflow: hidden;
	height: auto;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 1rem;
}
.download-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 1rem 1rem 0 1rem;
	background-color: var(--background-light);
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
	transition: all 0.3s ease;
}
.download-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.download-item .item-title {
	border-bottom: 1px dashed var(--brand-secondary);
	line-height: 1.4;
	margin-top: 0.5rem;
	font-weight: bold;
	text-align: center;
	width: 100%;
	height: auto;
	font-weight: normal;
	min-height: 2.8rem;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
}
.download-item .item-download {
	line-height: 1.8;
	text-align: center;
	width: 100%;
	display: block;
	margin-top: 0.5rem;
	border-bottom: 1px dashed var(--brand-secondary);
}
.download-item img {
	height: 180px;
	width: 135px;
	display: block;
	object-fit: cover;
	border-radius: 6px;
	border: 1px solid var(--border-color);
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
	object-fit: cover;
	transition: transform 0.3s;
	margin-right: auto;
	margin-left: auto;
}
.download-item:hover img {
	transform: scale(1.05);
}
.gengduo {
	line-height: 35px;
	font-weight: bold;
	text-align: right;
	margin-right: 10px;
	margin-top: 1rem;
}
/* 下载咨询按钮 */
.download-header {
	background: linear-gradient(135deg, #56a8f9, #005ab3);
	color: white;
	padding: 30px 20px;
	text-align: center;
	border-radius: 10px;
	margin-bottom: 30px;
	box-shadow: 0 10px 30px rgba(0, 102, 179, 0.3);
}
.about-tagline {
    text-align: center;
    font-size: 1.4rem;
    color: #a8001f;
    font-weight: 600;
    margin-bottom: 15px;
}
.about-tagline a{
    color: var(--brand-secondary);
}
.download-header p {
	font-size: 1.3rem;
	max-width: 800px;
	margin: 0 auto 25px;
}
.cta-button {
	display: inline-block;
	background: #ffffff;
	color: #a8001f;
	padding: 12px 35px;
	border-radius: 50px;
	font-weight: bold;
	font-size: 1.2rem;
	text-decoration: none;
	transition: all 0.3s ease;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
	border: 2px solid white;
	margin: 10px;
}
.cta-button:hover {
	background: #a8001f;
	color: white;
	transform: translateY(-3px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}
/*-- 二维码模态框样式 */
  .modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.7);
	z-index: 1000;
	justify-content: center;
	align-items: center;
}
  .modal.active {
    display: flex;
  }
.modal-content {
	background: white;
	border-radius: 15px;
	padding: 40px;
	width: 90%;
	max-width: 500px;
	text-align: center;
	position: relative;
	animation: modalAppear 0.4s ease;
}
.close-btn {
	position: absolute;
	top: 15px;
	right: 20px;
	font-size: 1.8rem;
	cursor: pointer;
	color: #777;
	transition: color 0.3s;
}
.modal-content h2 {
	color: #0066b3;
	margin-bottom: 20px;
	font-size: 2rem;
}

.qrcode-desc {
      text-align: center;
      margin-bottom: 20px;
      color: #0066b3;
      font-size: 1.5rem;
    }

    .qrcode-container {
      display: flex;
      justify-content: center;
      margin: 20px 0;
    }

    .qrcode-image {
      max-width: 200px;
      height: auto;
      border: 1px solid #eee;
      border-radius: 5px;
    }
 
/* ========== 侧边栏优化 ========== */
aside .wenzi {
	width: 100%;
	padding: 1rem;
	border: 1px solid var(--border-color);
	border-top: none;
	border-radius: 0 0 8px 8px;
}
aside span {
	border-radius: 8px 8px 0 0;
	color: white;
	width: 100%;
	font-weight: bold;
	line-height: 2.5rem;
	text-indent: 1.5rem;
	display: block;
	background-color: var(--brand-primary);
	border: 1px solid var(--brand-primary);
	font-size: clamp(1.2rem, 2.2vw, 1.5rem);
}
aside .wenzi p {
	margin: 0.3rem 0;
	font-size: clamp(1rem, 1.1vw + 2px, 1.125rem);
	border-bottom: 1px dashed var(--border-color);
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
}
aside .wenzi img {
	max-width: 100%;
	height: auto;
	border-radius: 6px;
	margin-bottom: 1rem;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
aside .wenzi p:last-child {
	border-bottom: none;
}
aside .wenzi p a {
	color: var(--brand-secondary);
	transition: color 0.3s;
}
aside .wenzi p a:hover {
	color: var(--brand-primary);
}
aside .tu {
	border: 1px solid var(--border-color);
	border-radius: 8px;
	margin-bottom: 1.5rem;
	overflow: hidden;
	transition: transform 0.3s ease;
}
aside .tu:hover {
	transform: translateY(-5px);
}
aside .tu img {
	display: block;
	width: 100%;
	height: auto;
	transition: transform 0.5s ease;
}
aside .tu:hover img {
	transform: scale(1.05);
}
/* ========== 页脚优化 ========== */
    footer {
	background-color: var(--brand-primary);
	padding: 2rem 6rem;
	overflow: hidden;
	clear: both;
	color: white;
}
.foot_con {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 1.5rem;
}
.footlogo {
	  align-items: center; 
	display: flex;	
    flex-direction: column;
}
.footlogo img.logo {
	filter: brightness(0) invert(1);
}
.footlogo img.code {
	width: 100px;	
}
.foot_nav .big a {
	font-weight: bold;	
	display: block;
	margin-bottom: 0.5rem;
	font-size: clamp(1rem, 1.25vw + 2px, 1.125rem);
}
.foot_nav .hui {
	color: rgba(255, 255, 255, 0.8);
	line-height: 1.8;
	font-size: clamp(0.9rem, 1.1vw + 2px, 1rem);
	display: block;
	transition: color 0.3s;
}
.foot_nav .hui a:hover {
	color: white;
}
.foot_contact .tel {
	font-size: 1.8rem;
	line-height: 1.2;
	margin: 0.5rem 0;
	font-weight: bold;
}
.foot_contact p {
	font-weight: bold;
	font-size: clamp(1rem, 1.25vw + 2px, 1.125rem);
	display: block;
	margin-bottom: 0.5rem;
}
.foot_contact .zxbtn {
	display: inline-block;
	width: auto;
	height: auto;
	line-height: 1.5;
	text-align: center;
	color: white;
	font-weight: bold;
	font-size: 1.5rem;
	background: var(--brand-secondary);
	margin-top: 1rem;
	padding: 0.8rem 3rem;
	border-radius: 10px;
	transition: all 0.3s ease;
}
.foot_contact .zxbtn:hover {
	background: #0056b3;
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.banquan {
	font-size: clamp(0.9rem, 1.1vw + 2px, 1.1rem);
	text-align: center;
	padding: 1rem 0;
	border-top: 1px solid rgba(255, 255, 255, 0.2);	
}
.banquan a {
	color: white;
	font-weight: 500;
}
/* ========== 底部按钮栏优化 ========== */
  /* 基础样式 */
    .footerBtn {
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      z-index: 1000;
      padding-bottom: env(safe-area-inset-bottom);
      /* 苹果安全区域适配 */
      background: #fff;
      box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
      border-top: 1px solid rgba(0, 0, 0, 0.05);
    }

    @media (min-width: 769px) {
      .footerBtn {
        display: none !important;
      }
    }

    .footerBtn ul {
      display: flex;
      padding: 0;
      margin: 0;
      list-style: none;
      width: 100%;
    }

    .footerBtn li {
      flex: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 8px 0;
      position: relative;
    }

    .footer-btn {
      display: flex;
      flex-direction: column;
      align-items: center;
      width: 100%;
      padding: 8px 0;
      text-decoration: none;
      color: #666;
      transition: all 0.3s ease;
    }

    .btn-icon {
      width: 24px;
      height: 24px;
      margin-bottom: 4px;
      transition: all 0.3s ease;
    }

    /* 按钮文字样式 */
    .btn-text {
      text-align: center;
      line-height: 1.3;
    }

    .btn-text strong {
      display: block;
      font-size: 14px;
      font-weight: 600;
      margin-bottom: 2px;
      transition: all 0.3s ease;
    }

    .btn-text span {
      display: block;
      font-size: 10px;
      line-height: 1.3;
      opacity: 0.8;
      margin: 0 auto;
      transition: all 0.3s ease;
    }

    /* 按钮悬停和激活状态 */
    .footer-btn:active {
      transform: scale(0.95);
    }

    /* 各按钮颜色样式 */
    .btn-emergency .btn-icon,
    .btn-emergency .btn-text strong {
      color: #261cdf;
    }

    .btn-emergency:active,
    .btn-emergency.active {
      background-color: rgba(38, 28, 223, 0.05);
    }

    .btn-emergency:active .btn-icon,
    .btn-emergency:active .btn-text strong,
    .btn-emergency.active .btn-icon,
    .btn-emergency.active .btn-text strong {
      color: #1a14b3;
    }

    .btn-case .btn-icon,
    .btn-case .btn-text strong {
      color: #2f8911;
    }

    .btn-case:active,
    .btn-case.active {
      background-color: rgba(47, 137, 17, 0.05);
    }

    .btn-case:active .btn-icon,
    .btn-case:active .btn-text strong,
    .btn-case.active .btn-icon,
    .btn-case.active .btn-text strong {
      color: #24720d;
    }

    .btn-consult .btn-icon,
    .btn-consult .btn-text strong {
      color: #b625ef;
    }

    .btn-consult:active,
    .btn-consult.active {
      background-color: rgba(182, 37, 239, 0.05);
    }

    .btn-consult:active .btn-icon,
    .btn-consult:active .btn-text strong,
    .btn-consult.active .btn-icon,
    .btn-consult.active .btn-text strong {
      color: #9a1dca;
    }

    /* 抖动动画 */
    @keyframes shake {

      0%,
      100% {
        transform: translateX(0);
      }

      25% {
        transform: translateX(-4px) rotate(-3deg);
      }

      75% {
        transform: translateX(4px) rotate(3deg);
      }
    }

    .shake-animation {
      animation: shake 1.2s ease-in-out infinite;
    }

    /* 适配iPhone X及以后的全面屏设备 */
    @supports (padding-bottom: env(safe-area-inset-bottom)) {
      .footerBtn {
        padding-bottom: calc(8px + env(safe-area-inset-bottom));
      }
    }

    /* 小屏幕优化 */
    @media (max-width: 320px) {
      .btn-text strong {
        font-size: 12px;
      }

      .btn-text span {
        font-size: 9px;
      }
    }
/* ========== 标题样式优化 ========== */
  h2, h3 {
	color: var(--brand-secondary);
	margin-bottom: 15px;
}
h1 {
	font-weight: bold;    text-align: center;
	line-height: 1.5;
	font-size: clamp(1.6rem, 1.5vw + 1rem, 2.5rem);
	padding-bottom: 0.5rem;
	margin-bottom: 0.5rem;
	border-bottom: 3px solid var(--brand-primary);
}
/*********京东联盟************************************/
 .jd-mini-ad { background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);  border: 1px solid #e0e0e0; border-radius: 8px;  padding: 12px 16px; margin: 1.5rem 0; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04); transition: all 0.3s ease;  max-width: 100%;  text-align: center;
        }
        .jd-mini-logo {  display: flex;  align-items: center;gap: 6px; font-weight: 600;   color: #e31436;    }
        .jd-mini-logo svg {  background: #e31436;  padding: 2px; border-radius: 2px;}

        .jd-mini-content { display: flex; justify-content: space-between;  align-items: center; gap: 12px;   }
        .jd-mini-text {   flex: 1; margin: 0;  color: var(--brand-secondary);  line-height: 1.4;
          text-align: center;  }
        .jd-mini-buttons { display: flex;   gap: 8px; flex-shrink: 0;  }
        .jd-mini-btn { background: #e31436;  color: white;  padding: 6px 12px;   border-radius: 6px;
          text-decoration: none;  font-weight: 500; transition: all 0.2s ease;  border: 1px solid #e31436;  white-space: nowrap; }
        .jd-mini-btn:hover {  background: #c1102d;   transform: translateY(-1px);  box-shadow: 0 2px 4px rgba(227, 20, 54, 0.3);   color: white;      }
        /* 响应式设计 */
        @media (max-width: 768px) {
          .jd-mini-ad {   padding: 10px 12px;  margin: 1rem 0;  }
          .jd-mini-content {flex-direction: column; align-items: flex-start;  gap: 8px;  }
          .jd-mini-buttons { align-self: flex-end;  }
          .jd-mini-text { font-size: 0.85rem;   }
        }

        @media (max-width: 480px) {
          .jd-mini-content { flex-direction: column; align-items: stretch;  }
          .jd-mini-buttons { align-self: stretch; justify-content: space-between; }
          .jd-mini-btn { flex: 1; text-align: center; padding: 8px 12px; }
        }

 /* ========== 响应式设计优化 ========== */
 .dqwz, main , .foot_con, .banquan{
	max-width: 1920px;     margin: 0 auto;   
  }
  @media (min-width: 1921px) {
	  main{padding: 1rem 0rem;}
	  .navbar {padding: 1rem 0rem;}
	}
  @media (max-width: 1200px) {
 .navbar, .bread, main, footer {
 padding-left: 2rem;
 padding-right: 2rem;
}
}
 @media (max-width: 1000px) {
 main {
 padding: 0.5rem 1rem 1rem 1rem;
}
footer .foot_con .footlogo {
	display: none;
   }
   aside .lianxi {
 display: none;
}
 main section{
 width: 100%;
}
 main aside {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
  }
 aside .tu {
 display: none;
}
 .download-grid {
 grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}
}
 @media (max-width: 768px) {
 .banner-container {
    aspect-ratio: 16/7;  
  }

 .navbar {
 padding: 0.8rem 1rem;
}
 #nav-links {
 display: none;
 width: 100%;
 flex-direction: column;
 position: absolute;
 top: 100%;
 left: 0;
 background: white;
 padding: 1rem;
 box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
 #nav-links.active {
 display: flex;
}
 .hamburger {
 display: block;
}
   .weizhi {
 display: none;
}
 
 main section {
 padding: 0rem;
}
 .download-grid {
 grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}
 .download-item img {
 height: 160px;
 width: 110px;
}

 footer {
 padding: 1rem;
}
 .foot_con .footlogo, .foot_con .foot_contact {
 display: none;
}
 .banquan {
 padding-bottom: 6rem;
 padding-top: 1rem;
}
}
