/* 首页轮播区域样式 */
.hero-section {
    position: relative;
    width: 100%;
    height: 910px;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
}

.slide-content h1 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.slide-content p {
    font-size: 24px;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.cta-button {
    background: #a3c210;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 18px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-shadow: none;
}

.cta-button:hover {
    background: #8fa50e;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(163, 194, 16, 0.3);
}

/* 轮播控制按钮样式 */
.slider-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.slider-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #a3c210;
    transform: scale(1.2);
}

/* 热门领域样式 */
.hot-field-section {
    padding: 52px 0;
    background: #ffffff;
}

.hot-field-section .section-title {
    text-align: center;
    font-family: 'Microsoft YaHei', MicrosoftYaHei-Bold, Arial, sans-serif;
    font-size: 36px;
    font-weight: bold;
    color: #333333;
    margin-bottom: 60px;
    letter-spacing: 2px;
}

.hot-field-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}

.hot-field-item {
    text-align: center;
    padding: 40px 30px;
    background: #ffffff;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.hot-field-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hot-field-icon {
    width: 318px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hot-field-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hot-field-item h4 {
    font-family: 'Microsoft YaHei', MicrosoftYaHei-Bold, Arial, sans-serif;
    font-size: 24px;
    font-weight: bold;
    color: #333333;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.hot-field-item p {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #666666;
    text-align: left;
    padding: 0 10px;
}

/* 产品介绍样式 */
.product-intro-section {
    padding: 40px 0;
    background: url('../images/product-intro.jpg') center center;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
    min-height: 600px;
}

.product-intro-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.product-intro-section .container {
    position: relative;
    z-index: 2;
}

.product-intro-section .section-title {
    text-align: center;
    font-family: 'Microsoft YaHei', MicrosoftYaHei-Bold, Arial, sans-serif;
    font-size: 36px;
    font-weight: bold;
    color: #333333;
    margin-bottom: 60px;
    letter-spacing: 2px;
}

.product-intro-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.product-row {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* 抖动动画关键帧 */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

@keyframes float-delayed {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-6px);
    }
}

@keyframes float-slow {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.product-circle {
    position: relative;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: float 3s ease-in-out infinite;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.product1 {
    width: 212px;
    height: 212px;
    background-image: url('../images/product1.png');
    margin-right: 178px;
    margin-left: 58px;
}

.product2 {
    width: 212px;
    height: 211px;
    background-image: url('../images/product2.png');
    margin-right: 156px;
}

.product3 {
    width: 202px;
    height: 201px;
    background-image: url('../images/product3.png');
}

.product4 {
    width: 224px;
    height: 224px;
    background-image: url('../images/product4.png');
    margin-right: 218px;
    margin-left: 38px;
}

.product5 {
    width: 219px;
    height: 218px;
    background-image: url('../images/product5.png');
    margin-right: 176px;
}

.product6 {
    width: 236px;
    height: 237px;
    background-image: url('../images/product6.png');
}

/* 为不同的圆圈添加不同的动画延迟和速度 */
.product-row:nth-child(1) .product-circle:nth-child(1) {
    animation: float 3s ease-in-out infinite;
    animation-delay: 0s;
}

.product-row:nth-child(1) .product-circle:nth-child(2) {
    animation: float-delayed 3.5s ease-in-out infinite;
    animation-delay: 0.5s;
}

.product-row:nth-child(1) .product-circle:nth-child(3) {
    animation: float-slow 4s ease-in-out infinite;
    animation-delay: 1s;
}

.product-row:nth-child(2) .product-circle:nth-child(1) {
    animation: float 3.2s ease-in-out infinite;
    animation-delay: 1.5s;
}

.product-row:nth-child(2) .product-circle:nth-child(2) {
    animation: float-delayed 3.8s ease-in-out infinite;
    animation-delay: 2s;
}

.product-row:nth-child(2) .product-circle:nth-child(3) {
    animation: float-slow 3.6s ease-in-out infinite;
    animation-delay: 2.5s;
}

.product-circle:hover {
    transform: scale(1.1);
    border-color: #a3c210;
    box-shadow: 0 15px 40px rgba(163, 194, 16, 0.4);
    animation-play-state: paused; /* 悬停时暂停抖动 */
    z-index: 100;
}

.product-name {
    font-family: 'Microsoft YaHei', MicrosoftYaHei-Bold, Arial, sans-serif;
    font-size: 18px;
    font-weight: bold;
    color: #333333;
    text-align: center;
    letter-spacing: 1px;
    padding: 8px 16px;
}

/* 弹出层样式 */
.product-popup {
    position: absolute;
    top: -10px;
    left: -15px;
    width: 270px;
    border-radius: 15px;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 10;
    background: white;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.product-circle:hover .product-popup {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.popup-header {
    font-family: 'Microsoft YaHei', MicrosoftYaHei-Bold, Arial, sans-serif;
    font-size: 18px;
    font-weight: bold;
    color: white;
    margin: 0;
    padding: 20px;
    text-align: center;
    border-radius: 15px 15px 0 0;
}

/* 为每个产品标题设置不同的背景颜色 */
.product1 .popup-header {
    background: linear-gradient(135deg, #a8d5ba, #7bc393);
}

.product2 .popup-header {
    background: linear-gradient(135deg, #c8a8d8, #b088c4);
}

.product3 .popup-header {
    background: linear-gradient(135deg, #87ceeb, #5dade2);
}

.product4 .popup-header {
    background: linear-gradient(135deg, #dda0dd, #c39bd3);
}

.product5 .popup-header {
    background: linear-gradient(135deg, #87ceeb, #5dade2);
}

.product6 .popup-header {
    background: linear-gradient(135deg, #a8d5ba, #7bc393);
}

.popup-content {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #666666;
    text-align: left;
    padding: 20px;
    background: white;
    border-radius: 0 0 15px 15px;
}

/* 企业动态样式 */
.enterprise-dynamic-section {
    padding: 40px 0;
    background: #ffffff;
}

.enterprise-dynamic-section .section-title {
    text-align: center;
    font-family: 'Microsoft YaHei', MicrosoftYaHei-Bold, Arial, sans-serif;
    font-size: 36px;
    font-weight: bold;
    color: #333333;
    margin-bottom: 30px;
    letter-spacing: 2px;
}

.enterprise-dynamic-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    margin-bottom: 50px;
}

.news-card {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
    border: solid  2px #f2f2f2;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    color: inherit;
}

.news-card:visited {
    color: inherit;
}

.news-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    padding: 20px;
}

.news-title {
    font-family: 'Microsoft YaHei', MicrosoftYaHei-Bold, Arial, sans-serif;
    font-size: 16px;
    font-weight: bold;
    color: #333333;
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-excerpt {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #666666;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.news-date {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    font-size: 12px;
    color: #999999;
}

.news-arrow {
    font-size: 16px;
    color: #a3c210;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.news-card:hover .news-arrow {
    transform: translateX(5px);
}

/* 知识中心样式 */
.knowledge-center-section {
    padding: 28px 0 101px 0;
}

.knowledge-center-section .section-title {
    text-align: center;
    font-family: 'Microsoft YaHei', MicrosoftYaHei-Bold, Arial, sans-serif;
    font-size: 36px;
    font-weight: bold;
    color: #333333;
    margin-bottom: 60px;
    letter-spacing: 2px;
}

.knowledge-center-wrapper {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    margin-bottom: 50px;
}

.knowledge-image {
    flex: 1;
    max-width: 520px;
}

.knowledge-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.knowledge-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.knowledge-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    cursor: pointer;
}

.knowledge-item:hover .knowledge-title {
    color: #a3c210;
}

.knowledge-number {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: #f5f5f5;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.day {
    font-family: 'Microsoft YaHei', MicrosoftYaHei-Bold, Arial, sans-serif;
    font-size: 28px;
    font-weight: bold;
    color: #a3c210;
    line-height: 1;
}

.year-month {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    font-size: 12px;
    color: #999999;
    line-height: 1;
}

.knowledge-content {
    flex: 1;
    padding-top: 5px;
}

.knowledge-title {
    font-family: 'Microsoft YaHei', MicrosoftYaHei-Bold, Arial, sans-serif;
    font-size: 18px;
    font-weight: bold;
    color: #333333;
    margin-bottom: 8px;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.knowledge-title a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.knowledge-title a:hover {
    color: #a3c210;
    text-decoration: none;
}

.knowledge-title a:visited {
    color: inherit;
}

.knowledge-desc {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #666666;
}

/* 响应式设计 - 首页特有 */
@media (max-width: 1024px) {
    .enterprise-dynamic-grid {
        gap: 20px;
    }
    
    .news-image {
        height: 180px;
    }
    
    .news-content {
        padding: 15px;
    }
    
    .news-title {
        font-size: 15px;
    }
    
    .news-excerpt {
        font-size: 13px;
    }

    .product-row {
        gap: 40px;
    }
    
    .product-circle {
        width: 150px;
        height: 150px;
    }
    
    .product-name {
        font-size: 16px;
        padding: 6px 12px;
    }
    
    .product-popup {
        width: 200px;
        left: -40px;
    }
    
    .popup-header {
        font-size: 16px;
    }
    
    .popup-content {
        font-size: 13px;
    }

    .hot-field-grid {
        gap: 30px;
    }
    
    .hot-field-item {
        padding: 30px 25px;
    }
    
    .hot-field-icon {
        margin-bottom: 25px;
    }
    
    .hot-field-item h4 {
        font-size: 22px;
    }
    
    .hot-field-item p {
        font-size: 15px;
    }

    .knowledge-center-wrapper {
        gap: 40px;
    }
    
    .knowledge-list {
        gap: 20px;
    }
    
    .knowledge-item {
        padding: 15px;
    }
    
    .knowledge-number {
        width: 70px;
        height: 70px;
    }
    
    .day {
        font-size: 24px;
    }
    
    .year-month {
        font-size: 11px;
    }
    
    .knowledge-title {
        font-size: 16px;
    }
    
    .knowledge-desc {
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .knowledge-center-section {
        padding: 60px 0;
    }
    
    .knowledge-center-section .section-title {
        font-size: 28px;
        margin-bottom: 40px;
    }
    
    .knowledge-center-wrapper {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 40px;
    }
    
    .knowledge-image {
        max-width: 100%;
    }
    
    .knowledge-list {
        gap: 20px;
    }
    
    .knowledge-item {
        padding: 15px;
    }
    
    .knowledge-number {
        width: 60px;
        height: 60px;
    }
    
    .day {
        font-size: 20px;
    }
    
    .year-month {
        font-size: 10px;
    }
    
    .knowledge-title {
        font-size: 16px;
        margin-bottom: 6px;
    }
    
    .knowledge-desc {
        font-size: 14px;
    }

    .enterprise-dynamic-section {
        padding: 60px 0;
    }
    
    .enterprise-dynamic-section .section-title {
        font-size: 28px;
        margin-bottom: 40px;
    }
    
    .enterprise-dynamic-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 40px;
    }
    
    .news-image {
        height: 200px;
    }
    
    .news-content {
        padding: 15px;
    }
    
    .news-title {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .news-excerpt {
        font-size: 14px;
        margin-bottom: 12px;
    }
    
    .news-date {
        font-size: 11px;
    }
    
    .news-arrow {
        font-size: 14px;
    }

    .product-intro-section {
        padding: 60px 0;
        min-height: 500px;
        background-attachment: scroll;
    }
    
    .product-intro-section .section-title {
        font-size: 28px;
        margin-bottom: 40px;
    }
    
    .product-intro-wrapper {
        gap: 30px;
    }
    
    .product-row {
        flex-direction: column;
        gap: 30px;
    }
    
    .product-row:nth-child(2) {
        flex-direction: column;
    }
    
    .product-circle {
        width: 120px;
        height: 120px;
    }
    
    .product-name {
        font-size: 14px;
        padding: 5px 10px;
    }
    
    .product-popup {
        width: 180px;
        left: -35px;
        top: -15px;
        padding: 15px;
    }
    
    .popup-header {
        font-size: 14px;
        margin-bottom: 10px;
    }
    
    .popup-content {
        font-size: 12px;
        line-height: 1.5;
    }

    .hot-field-section {
        padding: 60px 0;
    }
    
    .hot-field-section .section-title {
        font-size: 28px;
        margin-bottom: 40px;
    }
    
    .hot-field-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .hot-field-item {
        padding: 30px 20px;
    }
    
    .hot-field-icon {
        margin-bottom: 20px;
    }
    
    .hot-field-item h4 {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .hot-field-item p {
        font-size: 14px;
        line-height: 1.6;
    }

    .slide-content h1 {
        font-size: 32px;
    }
    
    .slide-content p {
        font-size: 18px;
    }
    
    .cta-button {
        padding: 12px 24px;
        font-size: 16px;
    }
    
    .slider-controls {
        bottom: 20px;
        gap: 15px;
    }
    
    .prev-btn, .next-btn {
        width: 40px;
        height: 40px;
    }
    
    .prev-btn img, .next-btn img {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 480px) {
    .slide-content h1 {
        font-size: 24px;
    }
    
    .slide-content p {
        font-size: 16px;
    }
    
    .cta-button {
        padding: 10px 20px;
        font-size: 14px;
    }
}
