﻿:root {
    --primary-color: #00b8a9;
    --secondary-color: #333;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background: #fff;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    height: 80px;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 20px;
    position: relative;
}

.logo {
    height: 40px;
}

.logo img {
    height: 100%;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 40px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #40E0D0;
}

/* 移动端样式 */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        gap: 0;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    .nav-menu.active {
        display: block;
    }

    .nav-menu li {
        border-bottom: 1px solid #eee;
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu a {
        display: block;
        padding: 15px 20px;
        text-align: center;
    }

    /* 按钮激活状态 */
    .nav-open .hamburger {
        transform: rotate(45deg);
    }

    .nav-open .hamburger::before {
        transform: rotate(90deg);
        top: 0;
    }

    .nav-open .hamburger::after {
        transform: rotate(90deg);
        bottom: 0;
    }
}

/* 汉堡按钮样式 */
.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    width: 25px;
    height: 2px;
    background: #333;
    display: block;
    position: relative;
    transition: all 0.3s ease-in-out;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

/* 主横幅样式 */
.hero {
    position: relative;
    height: 80vh;
    min-height: 500px;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
                url('https://gss.holyes.com/mp/images/hero-bg.png') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
}

.hero .container {
    width: 100%;
}

.hero-content {
    text-align: left;
    color: #ffffff;
    max-width: 600px;
    padding: 0 15px;
}

.hero h1 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    padding: 8px 24px;
    border: 1px solid #ffffff;
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #ffffff;
    color: #000000;
}

/* 响应式调整 */
@media screen and (max-width: 768px) {
    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 14px;
    }

    .hero-content {
        text-align: center;
        margin: 0 auto;
    }
}

/* 新增样式 */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: var(--secondary-color);
}

/* 特点卡片样式 */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 2rem 0;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card img {
    width: 64px;
    height: 64px;
    margin-bottom: 1rem;
}

/* 客户评价样式 */
.testimonials {
    padding: 80px 0 120px;
    background: #f9f9f9;
    margin-top: 0;
}

.testimonials .section-title {
    color: #000;
    text-align: center;
    margin-bottom: 50px;
    font-size: 32px;
}

.testimonial-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-group {
    display: none;
}

.testimonial-group.active {
    display: block;
}

.testimonial-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 0 15px;
}

.testimonial-card {
    flex: 1;
    background: #40E0D0;
    padding: 30px;
    border-radius: 8px;
    color: #fff;
    transition: background-color 0.3s ease;
    max-width: 380px;
}

.testimonial-card:hover {
    background: #20B2AA;
}

.testimonial-card p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: center;
}

.client-info {
    text-align: right;
    font-size: 14px;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.dot {
    width: 20px;
    height: 3px;
    background: rgba(64, 224, 208, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #40E0D0;
    width: 30px;
}

.dot:hover {
    background: rgba(64, 224, 208, 0.6);
}

@media screen and (max-width: 768px) {
    .testimonial-row {
        flex-direction: column;
        align-items: center;
    }

    .testimonial-card {
        width: 100%;
        margin-bottom: 20px;
    }
}

/* 产品展示样式 */
.products {
    padding: 15px 0;
    background: #fff;
    margin-bottom: 5px;
}

.product-item {
    display: flex;
    align-items: center;
    margin-bottom: 100px;
    padding: 60px 0;
}

.product-item.dark {
    background: #000;
    color: #fff;
}

.product-info {
    flex: 1;
    padding: 0 50px;
}

.product-info h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.product-info h3 {
    font-size: 24px;
    color: #666;
    margin-bottom: 30px;
}

.dark .product-info h3 {
    color: #ccc;
}

.product-info p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.product-image {
    flex: 1;
    position: relative;
    padding: 0 50px;
}

.product-image img {
    max-width: 100%;
    height: auto;
}

.chart-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.icon-list {
    position: absolute;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.icon-item {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-item.orange { background: #FF9F43; }
.icon-item.green { background: #40E0D0; }
.icon-item.blue { background: #2196F3; }
.icon-item.cyan { background: #00BCD4; }

.circle-features {
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
}

/* 响应式调整 */
@media screen and (max-width: 768px) {
    .product-item {
        flex-direction: column;
        padding: 30px 0;
    }

    .product-info {
        padding: 0 20px;
        margin-bottom: 30px;
    }

    .product-image {
        padding: 0 20px;
    }

    .product-info h2 {
        font-size: 28px;
    }

    .product-info h3 {
        font-size: 20px;
    }
}

/* 联系我们模块样式 */
.contact-container {
    display: flex;
    width: 100%;
}

.map-container {
    flex: 1;
    height: 400px;
    width: 50%;
}

.contact-info {
    flex: 1;
    background: #40E0D0;
    color: #fff;
    padding: 60px;
    width: 50%;
}

/* PC端地图 */
.desktop-map {
    display: flex;
}

/* 移动端地图 */
.mobile-map {
    display: none;
}

/* 移动端样式 */
@media screen and (max-width: 768px) {
    .desktop-map {
        display: none;
    }

    .mobile-map {
        display: block;
    }

    .contact-container {
        flex-direction: column;
    }

    .map-container {
        width: 100%;
        height: 300px;
    }

    .contact-info {
        width: 100%;
        padding: 30px 20px;
    }
}

/* 页脚样式 */
.footer {
    background: #fff;
    padding: 15px 0;
    text-align: center;
    border-top: 1px solid #eee;
}

.footer .copyright {
    color: #999;
    font-size: 14px;
    margin: 0;
}

/* 响应式调整 */
@media screen and (max-width: 768px) {
    .footer .copyright {
        font-size: 12px;
    }
}

/* 其他样式... */

/* 为什么选择我们 */
.why-us {
    padding: 80px 0;
    background: #fff;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.feature-card {
    background: #fff;
    padding: 30px;
    text-align: center;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}

.feature-card p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

/* 响应式调整 */
@media screen and (max-width: 992px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 576px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }
}

/* 软件下载模块样式调整 */
.downloads {
    padding: 80px 0;
    background: #fff;
}

.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
    color: #333;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 120px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 15px;
}

.download-item {
    text-align: left;
}

.download-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.download-header h3 {
    font-size: 24px;
    color: #333;
    margin: 0;
    margin-right: 20px;
}

.version-links {
    display: flex;
    gap: 10px;
}

.version-link {
    color: #40E0D0;
    text-decoration: none;
    font-size: 16px;
}

.version-link:hover {
    color: #20B2AA;
}

.requirements {
    color: #666;
}

.requirements p {
    margin-bottom: 10px;
}

.requirements ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.requirements li {
    font-size: 14px;
    line-height: 1.8;
}

/* 响应式调整 */
@media screen and (max-width: 992px) {
    .download-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 576px) {
    .download-grid {
        grid-template-columns: 1fr;
    }
}

/* CCS品牌商数字化模块样式 */
.ccs-section {
    padding: 80px 0;
    background: #fff;
}

.ccs-content {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.ccs-info {
    flex: 1;
}

.ccs-info h2 {
    font-size: 36px;
    color: #333;
    margin-bottom: 15px;
}

.ccs-info h3 {
    font-size: 24px;
    color: #666;
    margin-bottom: 30px;
}

.ccs-info p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.ccs-image {
    flex: 1;
}

.ccs-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* 响应式调整 */
@media screen and (max-width: 992px) {
    .ccs-content {
        flex-direction: column;
    }

    .ccs-info, .ccs-image {
        width: 100%;
    }
}

/* SCS模块样式 */
.scs-section {
    padding: 80px 0;
    background: #f5f5f5;
}

.scs-content {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.scs-image {
    flex: 1;
}

.scs-image img {
    width: 100%;
    height: auto;
    display: block;
}

.scs-info {
    flex: 1;
    text-align: right;  /* 文字右对齐 */
}

.scs-info h2 {
    font-size: 36px;
    color: #333;
    margin-bottom: 15px;
}

.scs-info h3 {
    font-size: 24px;
    color: #666;
    margin-bottom: 30px;
}

.scs-info p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.contact-info h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.info-details p {
    font-size: 18px;
    line-height: 2;
    margin-bottom: 15px;
}

.info-details a {
    color: #fff;
    text-decoration: none;
}

.info-details a:hover {
    text-decoration: underline;
}

/* 响应式调整 */
@media screen and (max-width: 992px) {
    .scs-content {
        flex-direction: column;
    }

    .scs-info {
        text-align: center;  /* 移动端居中对齐 */
    }

    .scs-info, .scs-image {
        width: 100%;
    }
}

/* 关于我们模块样式 */
.about-us {
    padding: 15px 0;
    background: #fff;
    margin-top: 0;
}

.section-title {
    text-align: center;
    font-size: 32px;
    color: #333;
    margin-bottom: 50px;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-image {
    width: 100%;
    max-width: 1000px;
    height: auto;
    margin-bottom: 40px;
}

.about-text {
    text-align: left;
    width: 100%;
    max-width: 1000px;
}

.about-text h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
}

.about-text p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 16px;
}

/* 响应式调整 */
@media screen and (max-width: 768px) {
    .about-content {
        padding: 0 20px;
    }

    .about-text h3 {
        font-size: 20px;
    }

    .about-text p {
        font-size: 14px;
    }
}

.about-stats {
    display: flex;
    gap: 60px;
    margin-top: 40px;
}

.stat-item {
    text-align: left;
}


.info-details p {
    font-size: 18px;
    line-height: 2;
    margin-bottom: 15px;
}

.info-details a {
    color: #fff;
    text-decoration: none;
}

.info-details a:hover {
    text-decoration: underline;
}

.stat-number {
    font-size: 36px;
    color: #40E0D0;
    font-weight: bold;
    margin-bottom: 10px;
}

.stat-number span {
    font-size: 24px;
    margin-left: 5px;
}

.stat-label {
    color: #666;
    font-size: 16px;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* 响应式调整 */
@media screen and (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }

    .about-stats {
        justify-content: center;
        gap: 30px;
    }

    .stat-item {
        text-align: center;
    }
}

@media screen and (max-width: 576px) {
    .about-stats {
        flex-direction: column;
        align-items: center;
    }

    .stat-item {
        margin-bottom: 20px;
    }
}

/* 移动端菜单按钮样式 */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background: #333;
    margin: 5px 0;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* 添加平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 为每个section添加padding-top来补偿固定导航栏的高度 */
section {
    padding-top: 80px;  /* 导航栏高度 */
    margin-top: -80px;  /* 抵消padding，确保锚点定位准确 */
}

/* 地图容器样式 */
.map-container {
    width: 50%;
    height: 400px;
    overflow: hidden;
}

/* 确保地图在移动端也能正常显示 */
@media screen and (max-width: 768px) {
    .map-container {
        width: 100%;
        height: 300px;
    }
}

/* 响应式调整 */
@media screen and (max-width: 768px) {
    .products {
        padding: 10px 0;
        margin-bottom: 3px;
    }

    .testimonials {
        padding: 40px 0 80px;
    }

    .about-us {
        padding: 10px 0;
    }
}