/* 
   yiyang - Premium Design System 
   易阳新能源 - 高级感设计系统
*/

:root {
    /* 核心色彩 - 更具高级感的色值 */
    --primary-green: #1a936f;
    --primary-blue: #0a4d8c; /* 深邃蓝 */
    --accent-cyan: #4cc9f0;
    --dark-bg: #030a12;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
    --text-dark: #1a1a1a;
    --text-light: #f8f9fa;
    --text-muted: #666;
    
    /* 阴影与圆角 */
    --radius-lg: 24px;
    --radius-md: 12px;
    --shadow-premium: 0 10px 40px rgba(0, 0, 0, 0.05);
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', 'Inter', 'Segoe UI', 'Microsoft YaHei', sans-serif;
}

html {
    width: 100%;
    overflow-x: hidden;
}

body {
    background-color: #fcfdfe;
    color: var(--text-dark);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-overflow-scrolling: touch;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* 玻璃拟态基础样式 */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--radius-lg);
    box-shadow: 
        0 8px 32px 0 rgba(31, 38, 135, 0.07),
        inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

/* 沉浸式科技背景网格 */
.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(76, 201, 240, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(76, 201, 240, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 2;
    mask-image: radial-gradient(circle at center, black, transparent 80%);
    pointer-events: none; /* 防止拦截移动端手势 */
}

/* 导航栏 - 升级为玻璃拟态 */
nav {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px) saturate(150%);
    -webkit-backdrop-filter: blur(15px) saturate(150%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition-smooth);
}

.nav-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-blue);
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(10, 77, 140, 0.05);
    transition: var(--transition-smooth);
}

.nav-toggle:hover {
    background: rgba(10, 77, 140, 0.1);
}

/* 按钮样式精修 */
.cta-highlight {
    display: inline-block;
    padding: 16px 40px;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-blue) 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 10px 25px rgba(26, 147, 111, 0.3);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-green) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.cta-highlight:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 40px rgba(26, 147, 111, 0.4);
}

.cta-highlight:hover::before {
    opacity: 1;
}

/* 导航栏态增强 */
nav.scrolled {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    height: 80px;
}

nav.scrolled .nav-container {
    height: 80px;
}

nav.scrolled .logo-brand img {
    height: 50px;
}

/* 回到顶部 */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 110px; /* 避开 AI 助手 */
    width: 50px;
    height: 50px;
    background: white;
    color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-premium);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    z-index: 1999;
}

.scroll-top.active {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-5px);
}

.nav-container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 100px;
    gap: 80px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1.1rem;
    transition: var(--transition-smooth);
    position: relative;
    padding: 10px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-green);
    transition: var(--transition-smooth);
}

.nav-links a:hover {
    color: var(--primary-green);
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

/* Hero Section - 升级为沉浸式 */
.hero-section {
    height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--dark-bg);
    color: white;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(3, 10, 18, 0.9) 0%, rgba(3, 10, 18, 0.2) 100%);
    z-index: 2;
    pointer-events: none; /* 防止拦截移动端手势 */
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #fff 0%, #a8e6cf 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.hero-content p {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 3rem;
    max-width: 600px;
}

/* 原有样式迁移与优化 */
section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 80px;
}

.section-title h2 {
    font-size: 3rem;
    color: var(--dark-bg);
    margin-bottom: 20px;
    font-weight: 700;
}

.company-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.intro-text {
    background: rgba(255, 255, 255, 0.4);
    padding: 40px;
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
}

.intro-text p {
    margin-bottom: 1.5rem;
    font-size: 1.15rem;
    color: var(--text-dark);
    text-indent: 0; /* 移除缩进，改用现代间距 */
    line-height: 1.8;
    opacity: 0.85;
}

.intro-text p:last-child {
    margin-bottom: 0;
}

.intro-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-premium);
}

.carousel-container {
    position: relative;
    height: 500px;
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(1.05);
    z-index: 1;
}

.carousel-slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

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

.carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.indicator.active {
    background: var(--primary-green);
    transform: scale(1.4);
    border-color: white;
    box-shadow: 0 0 15px rgba(26, 147, 111, 0.6);
}

/* 案例切换按钮 */
.case-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.tab-btn {
    padding: 10px 25px;
    border-radius: 50px;
    border: 1px solid rgba(0,0,0,0.1);
    background: white;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition-smooth);
    color: var(--text-muted);
}

.tab-btn.active {
    background: var(--primary-green);
    color: white;
    border-color: var(--primary-green);
    box-shadow: 0 4px 15px rgba(26, 147, 111, 0.3);
}

.tab-btn:hover:not(.active) {
    background: #f0fdf4;
    border-color: var(--primary-green);
    color: var(--primary-green);
}

/* 案例卡片精修 */
.cases-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}


.case-card {
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px) saturate(160%);
    -webkit-backdrop-filter: blur(12px) saturate(160%);
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.05), 
        0 10px 15px -3px rgba(0, 0, 0, 0.03);
    position: relative;
    display: flex;
    flex-direction: column;
}

.case-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(26, 147, 111, 0.15);
    background: rgba(255, 255, 255, 0.9);
}

.case-gif {
    height: 260px;
    position: relative;
    overflow: hidden;
}

/* 视频区域渐变遮罩 */
.case-gif::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.8), transparent);
    z-index: 2;
    pointer-events: none;
}

.case-gif video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.case-card:hover .case-gif video {
    transform: scale(1.1);
}

.case-data {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.case-description {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--dark-bg);
    line-height: 1.4;
    height: 3.6rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.data-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.data-item {
    background: rgba(255, 255, 255, 0.5);
    padding: 15px;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.case-card:hover .data-item {
    background: white;
    border-color: rgba(26, 147, 111, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.data-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 6px;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.data-label i {
    color: var(--primary-green);
    opacity: 0.7;
    font-size: 0.8rem;
}

.data-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-blue);
    transition: color 0.3s ease;
}

.case-card:hover .data-value {
    color: var(--primary-green);
}

/* 资质与专利 Tab 内容精修 */
.patent-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
}

.patent-content {
    min-height: 400px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.certificates-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

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

.patents-wrapper {
    background: rgba(10, 77, 140, 0.03);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid rgba(10, 77, 140, 0.05);
}

.patent-item {
    padding: 25px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.6);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.patent-item:hover {
    transform: translateY(-12px);
    background: white;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-green);
}

.patent-item img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    margin-bottom: 20px;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.05));
    transition: transform 0.5s ease;
}

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

.patents-grid .patent-item p {
    display: none;
}

.patent-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0;
    color: var(--primary-blue);
}

.patent-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
    opacity: 0.8;
}


footer {
    background: var(--dark-bg);
    color: white;
    padding: 100px 0 50px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 100px;
}

/* 顶部滚动进度条 */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(to right, var(--primary-green), var(--accent-cyan));
    z-index: 2001; /* 提升层级至导航栏之上 */
    transition: width 0.1s ease;
}

/* 通用 UI 组件类 - 替代行内样式 */
.logo-brand img { height: 65px; }

.text-primary-blue { color: var(--primary-blue); font-weight: 700; }
.text-primary-green { color: var(--primary-green); font-weight: 600; }
.text-muted-small { color: var(--text-muted); font-size: 0.9rem; line-height: 1.8; }

.section-tag {
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: inline-block;
}

.section-tag.green { color: var(--primary-green); }
.section-tag.blue { color: var(--primary-blue); }

.section-desc {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* 统计数据网格 */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 80px;
}

.stat-item {
    padding: 40px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.stat-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.stat-icon {
    font-size: 2rem;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.8;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 5px;
    line-height: 1;
    font-family: 'Outfit', sans-serif;
}

.stat-number.green { color: var(--primary-green); }
.stat-number.blue { color: var(--primary-blue); }
.stat-number.cyan { color: var(--accent-cyan); }
.stat-number.yellow { color: #f9c74f; }

.stat-label {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* 荣誉标签 */
.award-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    z-index: 5;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    letter-spacing: 0.5px;
}

.award-badge.green { background: rgba(26, 147, 111, 0.85); }
.award-badge.blue { background: rgba(10, 77, 140, 0.85); }

/* 图片模态框 (Lightbox) - 深度优化预览效果 */
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 10, 18, 0.92);
    backdrop-filter: blur(15px) saturate(150%);
    -webkit-backdrop-filter: blur(15px) saturate(150%);
    z-index: 3000;
    display: none; 
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.image-modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    max-width: 85%;
    max-height: 85vh;
    border-radius: var(--radius-md);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
    transform: scale(0.8) translateY(20px);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.image-modal.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 40px;
    right: 40px;
    color: white;
    font-size: 32px;
    cursor: pointer;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-close:hover {
    background: var(--primary-green);
    transform: rotate(90deg) scale(1.1);
}

/* 点击反馈与预览标识 */
.patent-item, .qr-item {
    position: relative;
    cursor: pointer;
}

.patent-item::after, .qr-item::after {
    content: '\f00e'; 
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    width: 60px;
    height: 60px;
    background: var(--primary-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10;
    pointer-events: none;
    box-shadow: 0 10px 20px rgba(26, 147, 111, 0.3);
}

.patent-item:hover::after, .qr-item:hover::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.patent-item:hover img, .qr-item:hover img {
    filter: brightness(0.8);
}

/* 痛点卡片容器 - 升级为解决方案展示 */
.pain-points-container {
    margin-top: 100px;
    background: linear-gradient(135deg, rgba(10, 77, 140, 0.02) 0%, rgba(26, 147, 111, 0.02) 100%);
    backdrop-filter: blur(10px);
    padding: 60px;
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: inset 0 0 40px rgba(255, 255, 255, 0.3);
}

.pain-points-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.pain-points-grid .data-item {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.8);
    padding: 30px;
    border-radius: 24px;
    transition: all 0.4s ease;
}

.pain-points-grid .data-item:hover {
    transform: scale(1.03);
    background: white;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}

.pain-points-grid h4 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.25rem;
    font-weight: 700;
}

/* 知识产权容器 */
.ip-section {
    background: rgba(10, 77, 140, 0.03);
    padding: 60px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(10, 77, 140, 0.05);
}

.ip-title {
    margin-bottom: 40px;
    text-align: center;
    color: var(--primary-blue);
    font-weight: 800;
    font-size: 1.8rem;
}

/* 合作 CTA 区域精修 */
.cooperation-cta {
    margin-top: 100px;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--primary-blue) 100%);
    padding: 80px 60px;
    border-radius: 40px;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(3, 10, 18, 0.2);
}

.cooperation-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(76, 201, 240, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.cta-title {
    font-size: 3rem;
    margin-bottom: 25px;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    letter-spacing: -1px;
}

.cta-desc {
    opacity: 0.8;
    margin-bottom: 40px;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    font-size: 1.15rem;
}

.cta-highlight-text {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 50px;
    color: var(--accent-cyan);
    letter-spacing: 1px;
}

.contact-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.contact-card {
    background: rgba(255, 255, 255, 0.08);
    padding: 30px 45px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    text-align: left;
}

.contact-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--accent-cyan);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.contact-label {
    display: block;
    font-size: 0.8rem;
    opacity: 0.6;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.contact-info {
    color: white;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 700;
    display: flex;
    flex-wrap: wrap; /* 允许换行 */
    align-items: center;
    gap: 15px;
    transition: color 0.3s ease;
}

.name-box {
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
}

.phone-box {
    white-space: nowrap;
}

.contact-card:hover .contact-info {
    color: var(--accent-cyan);
}

.contact-info i {
    font-size: 1.6rem;
    color: var(--accent-cyan);
}

/* 页脚辅助类 */
.footer-logo-text { color: white; margin-bottom: 15px; }
.footer-p-muted { opacity: 0.7; font-size: 0.95rem; }
.footer-heading { color: var(--accent-cyan); margin-bottom: 20px; }
.footer-contact-item { font-size: 0.9rem; opacity: 0.8; margin-bottom: 10px; }
.qr-container { display: flex; gap: 20px; }
.qr-item { text-align: center; }
.qr-img { 
    width: 100px; 
    height: 100px; 
    object-fit: cover; 
    border-radius: 10px; 
    display: block; 
    margin-bottom: 5px; 
    cursor: pointer; 
    transition: var(--transition-smooth); 
    background: white;
}
.qr-img:hover { transform: scale(1.05); box-shadow: 0 5px 15px rgba(26, 147, 111, 0.2); }
.qr-label { font-size: 0.75rem; opacity: 0.7; }

.footer-bottom {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.6;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-bottom a {
    color: white;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-bottom a:hover {
    color: var(--accent-cyan);
}

/* 响应式修正 */
@media (max-width: 1024px) {
    .nav-container { gap: 40px; }
    .nav-links { gap: 1.5rem; }
}

@media (max-width: 768px) {
    /* 核心修复：防止移动端滚动锁定和弹跳 */
    html, body {
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
    }
    
    body {
        /* 允许垂直方向的自然滚动，阻止 iOS 的过度弹跳干扰 */
        overscroll-behavior-y: auto; 
        position: relative;
    }

    /* 禁用移动端高负载的滤镜，防止滚动卡顿导致的“弹跳”感 */
    nav, .glass-card, .ai-chat-window, .nav-links {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background: rgba(255, 255, 255, 0.98) !important;
    }

    .container { padding: 0 20px; }
    
    .nav-container { justify-content: space-between; height: 80px; }
    .nav-toggle { display: flex; }
    
    .nav-links { 
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        gap: 0;
        padding: 20px 0;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 999;
    }

    .nav-links.mobile-active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 20px;
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }
    
    .nav-links a::after { display: none; }
    
    .hero-section { height: 80vh; }
    
    .ai-bubble {
        width: 55px;
        height: 55px;
        font-size: 1.5rem;
        bottom: 20px;
        right: 20px;
    }

    .scroll-top {
        bottom: 20px;
        right: 85px;
        width: 45px;
        height: 45px;
    }
    
    .stats-grid { 
        grid-template-columns: repeat(2, 1fr) !important; 
        gap: 15px !important;
        margin-bottom: 40px !important;
    }
    .stat-item { padding: 20px !important; }
    .stat-number { font-size: 2rem !important; }
    
    .cases-container { grid-template-columns: 1fr; gap: 25px; }
    .certificates-container { grid-template-columns: 1fr; gap: 20px; }
    .patents-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .patent-item img { height: 160px; }
    .case-gif { height: 220px; }
    .case-description { font-size: 1.1rem; }
    .data-item { padding: 12px; }
    .data-value { font-size: 1rem; }

    
    .company-intro {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .intro-text {
        padding: 25px;
    }

    .pain-points-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }

    .pain-points-grid .data-item {
        padding: 20px 10px;
        text-align: left; /* 优化为左对齐 */
        display: flex;
        flex-direction: column;
        align-items: flex-start; /* 配合左对齐 */
    }

    .pain-points-grid h4 {
        flex-direction: row; /* 恢复水平排列图标和文字 */
        align-items: center;
        gap: 10px;
        font-size: 1.1rem;
        margin-bottom: 10px !important;
        width: 100%;
    }

    .pain-points-grid h4 i {
        font-size: 1.2rem; /* 稍微缩小图标，适配左对齐排版 */
    }

    .pain-points-grid p {
        font-size: 0.85rem;
        line-height: 1.5;
        text-align: left;
    }

    .footer-content { 
        grid-template-columns: 1fr !important;
        gap: 40px; 
    }

    .footer-section {
        text-align: center;
    }

    .footer-section p {
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }

    .qr-container {
        justify-content: center;
    }

    .footer-bottom {
        margin-top: 60px;
    }

    /* 优化联系卡片手机端显示 */
    .contact-card {
        padding: 20px 25px !important;
    }

    .contact-label {
        font-size: 1rem !important; /* 字体加大 */
        opacity: 0.8 !important;
    }

    .contact-info {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 8px !important;
        font-size: 1.2rem !important;
    }

    .name-box {
        width: 100%;
    }

    .phone-box {
        display: block;
        width: 100%;
        color: var(--accent-cyan); /* 手机号颜色加亮，突出可点击感 */
    }
}

/* AI 咨询悬浮窗样式 */
.ai-consultant {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 2000;
}

.ai-bubble {
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-blue) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(26, 147, 111, 0.4);
    transition: var(--transition-smooth);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 10px 30px rgba(26, 147, 111, 0.4); }
    50% { transform: scale(1.05); box-shadow: 0 15px 45px rgba(26, 147, 111, 0.6); }
    100% { transform: scale(1); box-shadow: 0 10px 30px rgba(26, 147, 111, 0.4); }
}

.ai-chat-window {
    position: absolute;
    bottom: 85px;
    right: 0;
    width: 380px;
    max-width: calc(100vw - 40px); /* 确保不超出屏幕 */
    height: 550px;
    max-height: 70vh; /* 确保高度不超出屏幕 */
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 24px;
    box-shadow: 0 24px 60px rgba(0,0,0,0.15);
    display: none;
    flex-direction: column;
    overflow: hidden;
    transform-origin: bottom right;
    transition: var(--transition-smooth);
}

.ai-chat-window.active {
    display: flex;
    animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUp {
    from { transform: translateY(20px) scale(0.9); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}

.chat-header {
    background: linear-gradient(135deg, rgba(26, 147, 111, 0.9) 0%, rgba(10, 77, 140, 0.9) 100%);
    color: white;
    padding: 20px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.chat-close {
    cursor: pointer;
    font-size: 1.2rem;
    opacity: 0.7;
    transition: var(--transition-smooth);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.chat-close:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: transparent;
}

.chat-input {
    padding: 20px;
    border-top: 1px solid rgba(0,0,0,0.05);
    display: flex;
    gap: 10px;
    background: rgba(255,255,255,0.5);
}

.chat-input input {
    flex: 1;
    border: 1px solid rgba(0,0,0,0.1);
    padding: 12px 15px;
    border-radius: 25px;
    outline: none;
    background: rgba(255,255,255,0.8);
}

.chat-input button {
    background: var(--primary-green);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.chat-input button:hover {
    transform: scale(1.1);
    background: var(--primary-blue);
}

/* 正在输入动画 */
.typing-indicator {
    display: none;
    padding: 10px 15px;
    background: rgba(0,0,0,0.05);
    border-radius: 15px;
    width: fit-content;
    margin-bottom: 15px;
}

.typing-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #999;
    border-radius: 50%;
    margin-right: 3px;
    animation: typing 1.4s infinite;
}

.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-4px); }
}

/* 合作共赢板块增强 */
.advantage-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 60px;
}

.advantage-card {
    padding: 45px 25px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    display: flex;
    flex-direction: column;
}

.advantage-card:hover {
    transform: translateY(-15px);
    background: rgba(255, 255, 255, 0.9);
    border-color: var(--primary-green);
    box-shadow: 0 30px 60px rgba(26, 147, 111, 0.1);
}

.advantage-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-blue));
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    color: white;
    font-size: 2rem;
    box-shadow: 0 10px 25px rgba(26, 147, 111, 0.2);
    transition: all 0.5s ease;
}

.advantage-card:hover .advantage-icon {
    transform: rotateY(360deg);
    box-shadow: 0 15px 35px rgba(26, 147, 111, 0.3);
}

.advantage-card h4 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--primary-blue);
    font-weight: 800;
}

.advantage-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
    opacity: 0.9;
}

