/* CSS Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* 主题色彩 */
:root {
    --primary-color: #0066cc;
    --secondary-color: #4a90e2;
    --accent-color: #00a0ff;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #f8fafc;
    --border-color: #e5e7eb;
    --success-color: #10b981;
    --gradient-bg: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* 通用类 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary-color);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

/* 头部导航 */
.header {
    background: #fff;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 50px;
    margin-right: 15px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-menu li {
    margin: 0 25px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.contact-info {
    display: flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 600;
}

.contact-info i {
    margin-right: 8px;
}

/* 轮播区域 - 优化背景图片显示，去掉滤镜效果 */
.hero-section {
    margin-top: 80px;
    height: 600px;
    position: relative;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide.active {
    opacity: 1;
}

/* 轮播内容覆盖层 - 优化文字可读性，保持背景图清晰 */
.slide-content {
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(3px);
    padding: 5px;
    border-radius: 20px;
    text-align: left;
    color: white;
    max-width: 550px;
    margin-left: 80px;
    border: 2px solid rgba(255,255,255,0.1);
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.slide-title {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 5px;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.8);
    letter-spacing: 1px;
}

.slide-description {
    font-size: 1rem;
    margin-bottom: 5px;
    line-height: 1.9;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
    font-weight: 200;
}

.slide-keywords {
    background: rgba(255,255,255,0.15);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 1.2rem;
    font-weight: 350;
    border: 2px solid rgba(255,255,255,0.2);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    display: inline-block;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .slide-content {
        margin-left: 40px;
        padding: 40px;
        max-width: calc(100% - 80px);
    }
}

@media (max-width: 480px) {
    .slide-content {
        margin-left: 20px;
        padding: 25px 20px;
        max-width: calc(100% - 40px);
    }
    
    .slide-title {
        font-size: 1.3rem;
    }
    
    .slide-description {
        font-size: 1.1rem;
    }
    
    .slide-keywords {
        font-size: 1rem;
        padding: 8px 16px;
    }
}

/* 轮播控制按钮 */
.carousel-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
}

.nav-dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255,255,255,0.8);
}

.nav-dot.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: scale(1.2);
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    color: var(--primary-color);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.carousel-arrow:hover {
    background: white;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    transform: translateY(-50%) scale(1.1);
}

.arrow-prev {
    left: 30px;
}

.arrow-next {
    right: 30px;
}

/* 关于我们部分 */
.about-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 40px;
}

.about-content h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 20px;
}

.stats-container {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    color: var(--text-light);
}

.about-image {
    text-align: center;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* 产品中心 */
.products-section {
    padding: 80px 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.product-image {
    height: 250px;
    background-size: cover;
    background-position: center;
}

.product-content {
    padding: 30px;
}

.product-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.product-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
}

.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.product-tag {
    background: var(--bg-light);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.product-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

/* 解决方案 */
.solutions-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.solution-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.solution-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.solution-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.solution-description {
    color: var(--text-light);
    line-height: 1.6;
}

/* 技术认证 */
.certifications-section {
    padding: 80px 0;
}

.certifications-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.certification-item {
    text-align: center;
}

.certification-badge {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    margin: 0 auto 15px;
}

.certification-title {
    color: var(--text-dark);
    margin-bottom: 8px;
}

.certification-subtitle {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* 联系我们 */
.contact-section {
    padding: 80px 0;
    background: var(--gradient-bg);
    color: white;
}

.contact-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-subtitle {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.contact-item {
    text-align: center;
    padding: 30px;
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.contact-item-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.contact-value {
    font-size: 1.2rem;
    opacity: 0.9;
}

.contact-note {
    opacity: 0.8;
}

.keywords-section {
    text-align: center;
    margin-top: 50px;
}

.keywords-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.keywords-text {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.8;
}

/* 页脚 */
footer {
    background: #1f2937;
    color: white;
    padding: 50px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-company h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.footer-company p {
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    line-height: 2;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-contact {
    line-height: 2;
    opacity: 0.8;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    margin-top: 40px;
    padding-top: 30px;
    text-align: center;
    opacity: 0.8;
}

.footer-copyright {
    margin-bottom: 10px;
}

/* 公司统计数据样式 */
.company-stats {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 80px 0;
}

.company-stats .section-title {
    color: white;
    text-align: center;
    margin-bottom: 60px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item {
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(45deg, #fff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 1.2rem;
    font-weight: 500;
    opacity: 0.9;
}

/* 选择我们的理由样式 */
.why-choose-us {
    padding: 80px 0;
    background: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.feature-item {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-title {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 600;
}

.feature-description {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1rem;
}

/* 应用领域样式 */
.applications {
    padding: 80px 0;
    background: white;
}

.applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.app-item {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.app-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.app-item:hover::before {
    left: 100%;
}

.app-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.app-item h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.app-item p {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.9;
}

/* 产品目录下载区域 */
.catalog-download {
    margin-top: 60px;
    text-align: center;
}

.catalog-card {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 40px 30px;
    border-radius: 20px;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transform: perspective(1000px) rotateX(5deg);
    transition: all 0.3s ease;
}

.catalog-card:hover {
    transform: perspective(1000px) rotateX(0deg) translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.catalog-card h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.catalog-card p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.9;
}

.catalog-btn {
    display: inline-block;
    background: white;
    color: var(--primary-color);
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.catalog-btn:hover {
    background: #f8f9fa;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.footer-keywords {
    font-size: 0.9rem;
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* SEO友好的动画效果 */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* 面包屑导航 */
.breadcrumb {
    padding: 10px 0;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.9rem;
}

.breadcrumb-item {
    margin-right: 8px;
}

.breadcrumb-item:not(:last-child)::after {
    content: ">";
    margin-left: 8px;
    color: var(--text-light);
}

.breadcrumb-link {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb-link:hover {
    text-decoration: underline;
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    font-size: 20px;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* 加载动画 */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 产品标签动画 */
.product-tag {
    transition: all 0.3s ease;
}

.product-tag:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.05);
}

/* 统计数字计数动画 */
.stat-number {
    font-family: 'Arial', sans-serif;
    transition: all 0.3s ease;
}

/* 移动端优化 */
@media (max-width: 480px) {
    .slide-title {
        font-size: 1.8rem;
    }
    
    .slide-content {
        padding: 25px 20px;
        border-radius: 15px;
    }
    
    .slide-description {
        font-size: 1.1rem;
        margin-bottom: 25px;
    }
    
    .slide-keywords {
        font-size: 1rem;
        padding: 12px 20px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .carousel-arrow {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .arrow-prev {
        left: 15px;
    }
    
    .arrow-next {
        right: 15px;
    }
    
    .nav-dot {
        width: 12px;
        height: 12px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }
    
    .product-card {
        margin: 0 10px;
    }
    
    .catalog-download {
        margin-top: 40px;
        padding: 0 15px;
    }
    
    .catalog-card {
        padding: 30px 20px;
        margin: 0 auto;
    }
    
    .catalog-card h3 {
        font-size: 1.6rem;
    }
    
    .catalog-card p {
        font-size: 1rem;
    }
    
    .catalog-btn {
        padding: 12px 24px;
        font-size: 1rem;
    }
}

/* 高对比度模式支持 */
@media (prefers-contrast: high) {
    .slide-content {
        background: rgba(0,0,0,0.9);
        border: 2px solid white;
    }
    
    .nav-dot {
        border: 2px solid white;
    }
}

/* 减少动画的用户偏好 */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .carousel-slide {
        transition: none;
    }
}

/* 打印样式 */
@media print {
    .header,
    .carousel-nav,
    .carousel-arrow,
    .back-to-top {
        display: none;
    }
    
    .hero-section {
        margin-top: 0;
        height: auto;
        page-break-after: always;
    }
    
    .slide-content {
        background: white;
        color: black;
        box-shadow: none;
        border: 1px solid #ccc;
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .slide-title {
        font-size: 1.8rem;
    }
    
    .slide-content {
        padding: 25px;
    }
    
    .carousel-arrow {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .nav-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-menu {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-menu li {
        margin: 5px 15px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .stats-container {
        justify-content: center;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .solutions-grid {
        grid-template-columns: 1fr;
    }
    
    .certifications-grid {
        gap: 30px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .slide-title {
        font-size: 1.5rem;
    }
    
    .slide-content {
        padding: 20px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .carousel-arrow {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .arrow-prev {
        left: 15px;
    }
    
    .arrow-next {
        right: 15px;
    }
}
