*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    --primary-color: #1f9f49;
    --primary-dark: #167a39;
    --accent-color: #ff8c3a;
    --text-color: #1a2a1d;
    --text-muted: #5a6c60;
    --bg-light: #f4f9f4;
    --bg-dark: #0d2c16;
    --card-shadow: 0 20px 40px rgba(18, 63, 34, 0.12);
    --container-width: 1180px;
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text-color);
    background: linear-gradient(180deg, #ffffff 0%, #fafbfa 100%);
    line-height: 1.6;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(31, 159, 73, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 140, 58, 0.02) 0%, transparent 50%);
    z-index: -1;
    pointer-events: none;
}

img {
    max-width: 100%;
    display: block;
    height: auto;
    object-fit: cover;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(var(--container-width), 92%);
    margin: 0 auto;
    position: relative;
}

/* 为容器添加微妙的装饰线 */
.container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    border-radius: 2px;
    opacity: 0.3;
}

.topbar {
    background: var(--bg-dark);
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}

.topbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 0;
}

.topbar-links {
    display: flex;
    gap: 20px;
}

.topbar a {
    opacity: 0.85;
    transition: all 0.3s ease;
}

.topbar a:hover {
    opacity: 1;
    color: var(--accent-color);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(15, 37, 24, 0.08);
}

.header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 14px;
    display: block;
}

.logo-mark {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--primary-color), #58c972);
    color: #fff;
    font-weight: 700;
    letter-spacing: 1px;
}

.logo-text strong {
    display: block;
    font-size: 18px;
}

.logo-text small {
    font-size: 11px;
    letter-spacing: 1px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.site-nav {
    position: relative;
}

.site-nav ul {
    display: flex;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    display: inline-block;
    padding: 8px 0;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    height: 2px;
    width: 100%;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: #fff;
    border-radius: 16px;
    padding: 10px;
    min-width: 180px;
    box-shadow: 0 16px 40px rgba(18, 63, 34, 0.15);
    list-style: none;
    margin: 0;
    opacity: 0;
    pointer-events: none;
    transition: all 0.25s ease;
    z-index: 100;
    border: 1px solid rgba(31, 159, 73, 0.1);
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 14px;
    color: var(--text-muted);
    transition: all 0.2s ease;
}

.dropdown-menu a:hover {
    background: rgba(31, 159, 73, 0.08);
    color: var(--primary-color);
}

.site-nav .sub-nav-links {
    display: flex;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    border: none;
    background: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 26px;
    height: 2px;
    background: var(--text-color);
}

.hero {
    position: relative;
    background: linear-gradient(135deg, #0f2f19, #1f7f45);
    color: #fff;
    overflow: hidden;
    padding-top: 0;
}

.hero-decorations {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
}

.hero-decoration {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 15s ease-in-out infinite;
}

.hero-decoration-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.hero-decoration-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--accent-color) 0%, transparent 70%);
    bottom: -50px;
    right: -50px;
    animation-delay: 5s;
}

.hero-decoration-3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(31, 159, 73, 0.3) 0%, transparent 70%);
    top: 50%;
    right: 10%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(31, 159, 73, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 140, 58, 0.1) 0%, transparent 50%);
    z-index: 0;
    animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
    0% {
        opacity: 0.5;
        transform: scale(1);
    }
    100% {
        opacity: 1;
        transform: scale(1.1);
    }
}

.hero-slider {
    position: relative;
    width: 100%;
}

.hero-slide {
    display: none;
    align-items: center;
    justify-content: center;
    min-height: 700px;
    padding: 100px 0;
    position: relative;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    width: 100%;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 1s ease, transform 1s ease;
    background-color: rgba(15, 47, 25, 0.3);
}

/* 确保背景图片完整显示 */
.hero-slide[data-bg] {
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
}

/* 如果图片比例合适，可以使用 cover 获得更好的视觉效果 */
@media (min-width: 1200px) {
    .hero-slide[data-bg] {
        background-size: cover;
    }
}

/* 第三个轮播特殊处理，确保完整显示 */
.hero-slide:nth-child(3)[data-bg] {
    background-size: contain;
    background-position: center center;
}

@media (max-width: 1200px) {
    .hero-slide {
        background-size: contain;
        background-position: center center;
    }
}

/* 添加备用方案：如果 cover 导致显示不全，可以尝试 contain */

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(135deg, rgba(15, 47, 25, 0.65) 0%, rgba(31, 159, 73, 0.25) 100%),
        radial-gradient(ellipse at top right, rgba(255, 140, 58, 0.15) 0%, transparent 60%);
    z-index: 1;
    transition: opacity 0.8s ease;
    pointer-events: none;
    backdrop-filter: blur(0.5px);
}

.hero-slide::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(31, 159, 73, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatCircle 20s ease-in-out infinite;
    z-index: 1;
    opacity: 0;
    transition: opacity 1s ease;
}

.hero-slide.active::after {
    opacity: 1;
}

@keyframes floatCircle {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(-100px, 100px) scale(1.2);
    }
}

.hero-slide.active {
    display: flex;
    opacity: 1;
    transform: scale(1);
    animation: slideIn 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-slide:not(.active) {
    opacity: 0;
    transform: scale(1.05);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: scale(1.05) translateY(20px);
        filter: blur(5px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
        filter: blur(0);
    }
}

.hero-slide .hero-image-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    height: 100%;
    min-height: 400px;
    align-items: stretch;
    position: relative;
    z-index: 2;
}

.hero-slide .hero-image-container img {
    width: 100%;
    height: 100%;
    min-height: 190px;
    max-height: 240px;
    object-fit: cover;
    border-radius: 16px;
    transition: transform 0.3s ease;
}

.hero-slide .hero-image-container img:hover {
    transform: scale(1.02);
}

.hero-content {
    width: min(900px, 90%);
    margin: 0 auto;
    position: relative;
    z-index: 2;
    text-align: center;
    animation: fadeInUp 1s ease-out 0.3s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h1 {
    font-size: clamp(36px, 6vw, 56px);
    margin-bottom: 24px;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3), 0 0 40px rgba(31, 159, 73, 0.2);
    color: #ffffff;
    position: relative;
    animation: textShine 3s ease-in-out infinite;
}

.hero-content h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    border-radius: 2px;
    animation: underlineExpand 1s ease-out 0.8s both;
}

@keyframes underlineExpand {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 80px;
        opacity: 1;
    }
}

@keyframes textShine {
    0%, 100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.1);
    }
}

.hero-content p {
    font-size: clamp(16px, 2vw, 20px);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 40px;
    line-height: 1.8;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-actions .btn {
    position: relative;
    overflow: hidden;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.hero-actions .btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.hero-actions .btn:hover::before {
    width: 300px;
    height: 300px;
}

.hero-actions .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.hero-media {
    border-radius: 26px;
    min-height: 320px;
    background-size: cover;
    background-position: center;
    box-shadow: var(--card-shadow);
}

.hero-media-1 {
    background-image: linear-gradient(rgba(18, 63, 34, 0.35), rgba(18, 63, 34, 0.35)), url('assets/images/关于我们-背景.png');
}

.hero-media-2 {
    background-image: linear-gradient(rgba(13, 54, 32, 0.35), rgba(13, 54, 32, 0.35)), url('assets/images/2025-丽美佳环保画册3_02.png');
}

.hero-media-3 {
    background-image: linear-gradient(rgba(10, 44, 27, 0.4), rgba(10, 44, 27, 0.4)), url('assets/images/2025-丽美佳环保画册3-1.png');
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn.primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2db85a 100%);
    color: #fff;
    box-shadow: 0 18px 32px rgba(23, 95, 52, 0.4), 0 0 0 0 rgba(31, 159, 73, 0.5);
    position: relative;
    overflow: hidden;
}

.btn.primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn.primary:hover::after {
    left: 100%;
}

.btn.primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    transform: translateY(-2px);
    box-shadow: 0 22px 40px rgba(23, 95, 52, 0.5), 0 0 20px rgba(31, 159, 73, 0.4);
}

.btn.ghost {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-color: rgba(255, 255, 255, 0.6);
    color: #fff;
    position: relative;
}

.btn.ghost::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 999px;
}

.btn.ghost:hover::before {
    opacity: 1;
}

.btn.ghost:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-indicators {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 0 0 50px;
    position: relative;
    z-index: 3;
}

.hero-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.hero-indicators button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--accent-color);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.hero-indicators button:hover {
    border-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.3);
}

.hero-indicators button.active {
    border-color: var(--accent-color);
    background: transparent;
    transform: scale(1.4);
}

.hero-indicators button.active::before {
    width: 100%;
    height: 100%;
}

.section {
    padding: 90px 0;
    position: relative;
}

.section:first-of-type {
    padding-top: 0;
}

/* 为每个section添加微妙的背景变化 */
.section:nth-child(even) {
    background: linear-gradient(180deg, #ffffff 0%, #fafbfa 50%, #ffffff 100%);
}

.section:nth-child(odd) {
    background: linear-gradient(180deg, #fafbfa 0%, #ffffff 50%, #fafbfa 100%);
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 60px;
    position: relative;
    padding-top: 20px;
}

.section-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    border-radius: 2px;
}

.section-header .subtitle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(31, 159, 73, 0.12);
    color: var(--primary-color);
    font-size: 13px;
    letter-spacing: 2px;
}

.section-header h2 {
    font-size: clamp(28px, 4vw, 36px);
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-muted);
}

.about {
    background: var(--bg-light);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 46px;
    align-items: stretch;
}

.about-media {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-media-visual {
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(21, 61, 38, 0.08);
}

.about-media-visual img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 280px;
}

.about-media-card {
    background: linear-gradient(135deg, #1c7c42, #45b368);
    color: #fff;
    border-radius: 26px;
    padding: 42px;
    box-shadow: var(--card-shadow);
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.24);
    font-size: 13px;
    margin-bottom: 18px;
}

.about-media-card h3 {
    font-size: 26px;
    margin-bottom: 22px;
}

.about-media-card p {
    color: rgba(255, 255, 255, 0.86);
    margin-bottom: 30px;
}

.about-stats {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin: 0;
    padding: 0;
}

.about-stats strong {
    display: block;
    font-size: 20px;
}

.about-stats span {
    font-size: 13px;
    opacity: 0.8;
}

.about-info p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.feature-list {
    display: grid;
    gap: 22px;
}

.feature-list article {
    background: #fff;
    border-radius: 18px;
    padding: 24px;
    border: 1px solid rgba(30, 75, 48, 0.12);
    transition: all 0.3s ease;
}

.feature-list article:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow);
}

.services {
    background: #fff;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
}

.service-card {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(26, 73, 45, 0.1);
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--card-shadow);
}

.icon-circle {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: rgba(31, 159, 73, 0.12);
    display: grid;
    place-items: center;
    color: var(--primary-color);
    font-weight: 700;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
}

.text-link::after {
    content: '→';
    transition: transform 0.3s ease;
}

.text-link:hover::after {
    transform: translateX(4px);
}

.products {
    background: linear-gradient(180deg, #f4f9f4 0%, #ffffff 50%, #f4f9f4 100%);
    position: relative;
}

.products::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(31, 159, 73, 0.2), transparent);
}

.product-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 36px;
}

.product-tab {
    padding: 10px 20px;
    border-radius: 999px;
    border: 1px solid rgba(31, 159, 73, 0.3);
    background: #fff;
    color: var(--primary-color);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-tab.active {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 14px 24px rgba(31, 159, 73, 0.2);
}

.product-panels {
    position: relative;
}

.product-panel {
    display: none;
}

.product-panel.active {
    display: block;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(280px, auto);
    gap: 24px;
}

/* 创新的不同大小卡片布局 */
.product-card:nth-child(3n+1) {
    grid-column: span 5;
    grid-row: span 1;
}

.product-card:nth-child(3n+2) {
    grid-column: span 4;
    grid-row: span 1;
}

.product-card:nth-child(3n+3) {
    grid-column: span 3;
    grid-row: span 1;
}

/* 每三行后调整布局，创造视觉节奏 */
.product-card:nth-child(6n+4),
.product-card:nth-child(6n+5),
.product-card:nth-child(6n+6) {
    grid-column: span 4;
}

@media (max-width: 1100px) {
    .product-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 20px;
    }
    
    .product-card:nth-child(3n+1) {
        grid-column: span 3;
    }
    
    .product-card:nth-child(3n+2) {
        grid-column: span 3;
    }
    
    .product-card:nth-child(3n+3) {
        grid-column: span 6;
    }
    
    .product-card:nth-child(6n+4),
    .product-card:nth-child(6n+5),
    .product-card:nth-child(6n+6) {
        grid-column: span 3;
    }
    
    .product-card:nth-child(3n+1) .product-image {
        height: 240px;
    }
    
    .product-card:nth-child(3n+2) .product-image {
        height: 220px;
    }
    
    .product-card:nth-child(3n+3) .product-image {
        height: 200px;
    }
}

@media (max-width: 720px) {
    .product-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .product-card {
        grid-column: span 1 !important;
    }
    
    .product-image {
        height: 220px !important;
    }
    
    .case-card img {
        height: 240px !important;
    }
}

.product-card {
    background: #fff;
    border-radius: 24px;
    padding: 0;
    border: 1px solid rgba(27, 70, 45, 0.06);
    box-shadow: 0 4px 20px rgba(18, 63, 34, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    animation: fadeInUp 0.6s ease-out both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 为不同卡片添加不同的延迟动画 */
.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }
.product-card:nth-child(5) { animation-delay: 0.5s; }
.product-card:nth-child(6) { animation-delay: 0.6s; }

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--primary-color));
    background-size: 200% 100%;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: 2;
    border-radius: 24px 24px 0 0;
}

.product-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 24px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(31, 159, 73, 0.1), rgba(255, 140, 58, 0.1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.product-card:hover::after {
    opacity: 1;
}

.product-card:hover::before {
    transform: scaleX(1);
    animation: gradientShift 2s ease infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(18, 63, 34, 0.12), 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: rgba(31, 159, 73, 0.2);
}

.product-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, #f0f7f2 0%, #e8f5eb 50%, #f5faf7 100%);
    position: relative;
    border-radius: 20px 20px 0 0;
    box-shadow: inset 0 -2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 不同大小的卡片使用不同的图片高度 */
.product-card:nth-child(3n+1) .product-image {
    height: 260px;
}

.product-card:nth-child(3n+2) .product-image {
    height: 240px;
}

.product-card:nth-child(3n+3) .product-image {
    height: 200px;
}

.product-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    z-index: 1;
    pointer-events: none;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.95) saturate(1.1);
    transform: scale(1);
    padding: 8px;
    box-sizing: border-box;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
    filter: brightness(1) saturate(1.15);
}

/* 确保图片完整显示，不会被裁剪 */
.product-image img {
    max-width: 100%;
    max-height: 100%;
}

/* 图片加载时的柔化效果 */
.product-image img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.product-card h3 {
    margin: 24px 26px 16px;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
    line-height: 1.4;
    transition: color 0.3s ease;
}

.product-card:hover h3 {
    color: var(--primary-color);
}

.product-card ul {
    list-style: none;
    padding: 0 26px 28px;
    margin: 0;
    display: grid;
    gap: 10px;
    color: var(--text-muted);
    font-size: 14px;
    flex: 1;
    line-height: 1.6;
}

.product-card ul li {
    position: relative;
    padding-left: 20px;
    transition: color 0.3s ease;
}

.product-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 12px;
    opacity: 0.6;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.product-card:hover ul li::before {
    opacity: 1;
    transform: scale(1.2);
}

.product-card:hover ul li {
    color: var(--text-color);
}

.highlights {
    background: #fff;
}

.qualifications {
    background: linear-gradient(180deg, #ffffff 0%, #f4f9f4 100%);
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.cert-card {
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(21, 61, 38, 0.1);
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cert-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(18, 63, 34, 0.15);
}

.cert-card img {
    width: 100%;
    height: 360px;
    object-fit: contain;
    background: #f0f7f2;
    padding: 12px;
    box-sizing: border-box;
}

.cert-card h3,
.cert-card p,
.cert-card ul {
    padding: 0 24px;
}

.cert-card h3 {
    margin: 20px 0 12px;
    font-size: 18px;
    color: var(--primary-color);
}

.cert-card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
    padding-bottom: 24px;
}

.cert-card ul {
    list-style: none;
    margin: 0 0 24px;
    display: grid;
    gap: 8px;
    color: var(--text-muted);
    font-size: 14px;
}

.cert-card ul li::before {
    content: '✓ ';
    color: var(--primary-color);
    font-weight: 600;
}

.cert-highlight {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 32px 24px;
    background: linear-gradient(135deg, #1c7c42, #45b368);
    color: #fff;
    border: none;
}

.cert-highlight h3,
.cert-highlight p,
.cert-highlight ul {
    color: rgba(255, 255, 255, 0.95);
    padding: 0;
}

.cert-highlight h3 {
    color: #fff;
    margin-top: 12px;
}

.cert-highlight ul li::before {
    color: var(--accent-color);
}

.cert-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.24);
    font-size: 13px;
    font-weight: 600;
    width: fit-content;
}

.agent-features {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 28px;
}

.agent-features article {
    background: #fff;
    border-radius: 18px;
    padding: 24px 20px;
    border: 1px solid rgba(31, 159, 73, 0.15);
    text-align: center;
    transition: transform 0.3s ease;
}

.agent-features article:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow);
}

.feature-num {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 12px;
}

.agent-features h4 {
    margin: 0 0 8px;
    font-size: 16px;
    color: var(--primary-color);
}

.agent-features p {
    margin: 0;
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

.agent-scope {
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 32px;
    padding: 12px 20px;
    background: rgba(31, 159, 73, 0.08);
    border-radius: 12px;
}

.product-brochure-strip {
    margin: 0 0 36px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(21, 61, 38, 0.1);
    box-shadow: var(--card-shadow);
}

.product-brochure-strip img {
    width: 100%;
    height: auto;
    display: block;
}

.service-policy-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    margin-bottom: 48px;
}

.policy-card {
    background: linear-gradient(135deg, #f4f9f4, #ffffff);
    border-radius: 22px;
    padding: 32px 28px;
    border: 1px solid rgba(31, 159, 73, 0.15);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.policy-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--card-shadow);
}

.policy-icon {
    display: inline-grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: var(--primary-color);
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 18px;
}

.policy-card h3 {
    margin: 0 0 12px;
    font-size: 18px;
    color: var(--text-color);
}

.policy-card p {
    margin: 0;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px;
}

.highlights article {
    background: #fff;
    border-radius: 22px;
    padding: 30px;
    border: 1px solid rgba(21, 61, 38, 0.1);
    box-shadow: var(--card-shadow);
}

.highlights p {
    color: var(--text-muted);
}

.counters {
    background: linear-gradient(135deg, #e0f3e3, #f3faf3);
}

.counter-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    text-align: center;
}

.counter-grid article {
    background: #fff;
    border-radius: 18px;
    padding: 28px 20px;
    box-shadow: var(--card-shadow);
}

.counter {
    display: block;
    font-size: clamp(34px, 6vw, 48px);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.cases {
    background: #fff;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(300px, auto);
    gap: 24px;
}

/* 案例卡片 - 6项布局 */
.case-card:nth-child(6n+1) {
    grid-column: span 4;
}

.case-card:nth-child(6n+2) {
    grid-column: span 4;
}

.case-card:nth-child(6n+3) {
    grid-column: span 4;
}

.case-card:nth-child(6n+4) {
    grid-column: span 4;
}

.case-card:nth-child(6n+5) {
    grid-column: span 4;
}

.case-card:nth-child(6n+6) {
    grid-column: span 4;
}

.case-showcase {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    margin-top: 48px;
}

.case-showcase-item {
    margin: 0;
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(21, 61, 38, 0.1);
    box-shadow: var(--card-shadow);
}

.case-showcase-item img {
    width: 100%;
    height: auto;
    display: block;
}

.case-showcase-item figcaption {
    padding: 16px 20px;
    font-size: 14px;
    color: var(--text-muted);
    text-align: center;
    background: var(--bg-light);
}

@media (max-width: 900px) {
    .case-showcase {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1100px) {
    .case-grid {
        grid-template-columns: repeat(6, 1fr);
    }
    
    .case-card:nth-child(n) {
        grid-column: span 3;
    }
}

@media (max-width: 720px) {
    .case-grid {
        grid-template-columns: 1fr;
    }
    
    .case-card {
        grid-column: span 1 !important;
    }
}

.case-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(18, 63, 34, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    min-height: 300px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    animation: fadeInUp 0.6s ease-out both;
    border: 1px solid rgba(27, 70, 45, 0.06);
}

.case-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: 2;
    border-radius: 24px 24px 0 0;
}

.case-card:hover::before {
    transform: scaleX(1);
}

.case-card:nth-child(1) { animation-delay: 0.1s; }
.case-card:nth-child(2) { animation-delay: 0.2s; }
.case-card:nth-child(3) { animation-delay: 0.3s; }
.case-card:nth-child(4) { animation-delay: 0.4s; }

.case-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px rgba(18, 63, 34, 0.18);
}

.case-card img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    object-position: center;
    display: block;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.95) saturate(1.05);
    transform: scale(1);
    background: linear-gradient(135deg, #f0f7f2, #e8f5eb);
    padding: 12px;
    box-sizing: border-box;
}

/* 不同大小的案例卡片使用不同的图片高度 */
.case-card:nth-child(4n+1) img {
    height: 280px;
}

.case-card:nth-child(4n+2) img {
    height: 240px;
}

.case-card:nth-child(4n+3) img {
    height: 200px;
}

.case-card:nth-child(4n+4) img {
    height: 260px;
}

.case-card:hover img {
    transform: scale(1.04);
    filter: brightness(1) saturate(1.12);
}

/* 确保案例图片完整显示 */
.case-card img {
    max-width: 100%;
    max-height: 100%;
}

.case-cover {
    height: 160px;
    background-size: cover;
    background-position: center;
}

.case-cover-station {
    background-image: url('assets/images/案例-户外喷雾.jpg');
}

.case-cover-farm {
    background-image: url('assets/images/养殖场.jpg');
}

.case-cover-road {
    background-image: url('assets/images/道路除尘.jpg');
}

.case-cover-factory {
    background-image: url('assets/images/负压喷淋塔.jpg');
}

.case-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.case-body h3 {
    margin: 0;
    font-size: 18px;
    color: var(--text-color);
}

.case-body p {
    color: var(--text-muted);
    flex: 1;
}

.news {
    background: var(--bg-light);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.news-card {
    background: #fff;
    border-radius: 20px;
    padding: 26px;
    border: 1px solid rgba(21, 61, 38, 0.1);
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 48px rgba(18, 63, 34, 0.15);
}

.news-date {
    font-size: 13px;
    letter-spacing: 1px;
    color: var(--primary-color);
}

.contact {
    background: #fff;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
    align-items: start;
}

.contact-info p {
    color: var(--text-muted);
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 24px 0;
    display: grid;
    gap: 16px;
}

.contact-list strong {
    display: block;
    font-size: 15px;
    margin-bottom: 6px;
}

.contact-cta {
    background: linear-gradient(135deg, #1f9f49, #58c972);
    color: #fff;
    padding: 18px 24px;
    border-radius: 18px;
    font-weight: 600;
    box-shadow: var(--card-shadow);
}

.contact-form {
    background: var(--bg-light);
    border-radius: 22px;
    padding: 32px;
    border: 1px solid rgba(24, 68, 42, 0.12);
    display: grid;
    gap: 18px;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 14px;
}

.form-row input,
.form-row textarea {
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid transparent;
    background: #fff;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-row input:focus,
.form-row textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(31, 159, 73, 0.2);
}

.site-footer {
    background: #102719;
    color: rgba(255, 255, 255, 0.82);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
    padding: 60px 0 40px;
}

.footer-grid h4 {
    margin-bottom: 16px;
    font-size: 16px;
}

.footer-grid ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

.footer-grid a:hover {
    color: var(--accent-color);
}

.footer-logo img {
    width: 35px;
    height: 35px;
    object-fit: cover;
    border-radius: 8px;
}

.qr-placeholder {
    width: 150px;
    height: 150px;
    min-width: 150px;
    min-height: 150px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    letter-spacing: 4px;
    overflow: visible;
    padding: 10px;
    box-sizing: border-box;
}

.qr-placeholder img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    border-radius: 18px;
    display: block !important;
    margin: 0;
    padding: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 18px 0;
    font-size: 14px;
}

.footer-bottom .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.back-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: var(--primary-color);
    color: #fff;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    cursor: pointer;
    box-shadow: 0 18px 32px rgba(31, 159, 73, 0.24);
    transition: all 0.3s ease;
}

.back-to-top.show {
    display: flex;
}

.back-to-top:hover {
    background: var(--primary-dark);
}

@media (max-width: 1100px) {
    .service-grid,
    .product-grid,
    .case-grid,
    .counter-grid,
    .news-grid,
    .cert-grid,
    .agent-features,
    .service-policy-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 920px) {
    .topbar {
        display: none;
    }

    .header-main {
        padding: 12px 0;
    }

    .nav-toggle {
        display: flex;
    }

    .site-nav ul {
        position: absolute;
        right: 0;
        top: 120%;
        flex-direction: column;
        background: #fff;
        border-radius: 18px;
        padding: 18px;
        gap: 10px;
        min-width: 220px;
        box-shadow: var(--card-shadow);
        opacity: 0;
        transform: translateY(-12px);
        pointer-events: none;
        transition: all 0.3s ease;
    }

    .nav-dropdown .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        pointer-events: auto;
        box-shadow: none;
        border: none;
        padding: 0 0 0 12px;
        min-width: auto;
    }

    .site-nav .sub-nav-links {
        flex-direction: column;
        gap: 6px;
    }

    .site-nav.open ul {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .about-grid,
    .hero-slide,
    .contact-grid,
    .highlights-grid {
        grid-template-columns: 1fr;
    }

    .hero-slide {
        text-align: center;
        padding: 60px 0;
        min-height: 500px;
    }

    .hero-slide .hero-image-container {
        grid-template-columns: repeat(2, 1fr);
        min-height: auto;
        margin-top: 30px;
    }

    .hero-slide .hero-image-container img {
        min-height: 150px;
    }

    .hero-content {
        width: 95%;
    }

    .hero-decoration-1,
    .hero-decoration-2,
    .hero-decoration-3 {
        width: 200px;
        height: 200px;
    }

    .hero-media {
        min-height: 240px;
    }
}

@media (max-width: 720px) {
    .hero-actions {
        flex-direction: column;
    }

    .service-grid,
    .product-grid,
    .case-grid,
    .counter-grid,
    .news-grid,
    .cert-grid,
    .agent-features,
    .service-policy-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 70px 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom .container {
        flex-direction: column;
        gap: 12px;
    }

    .back-to-top {
        right: 16px;
        bottom: 18px;
    }

    .hero-slide .hero-image-container {
        grid-template-columns: 1fr;
    }

    .hero-slide .hero-image-container img {
        min-height: 180px;
        max-height: 220px;
    }
}

