/* 全局样式 */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --text-color: #333;
    --light-bg: #f5f6fa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
.navbar {
    background-color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
}

.logo h1 {
    color: var(--primary-color);
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li a {
    color: var(--text-color);
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: color 0.3s;
}

.nav-menu li a:hover {
    color: var(--secondary-color);
}

.nav-toggle {
    display: none;
}

/* 首页横幅样式 */
.hero {
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
    background: linear-gradient(rgba(44, 62, 80, 0.8), rgba(44, 62, 80, 0.8)),
                url('../images/hero-digital.jpg') center/cover;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slide {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: opacity 0.5s ease-in-out;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(rgba(44, 62, 80, 0.8), rgba(44, 62, 80, 0.8)),
                url('../images/hero-digital.jpg') center/cover;
}

/* 为每个slide设置不同的背景 */
.slide:nth-child(1) {
    background: linear-gradient(rgba(44, 62, 80, 0.8), rgba(44, 62, 80, 0.8)),
                url('../images/hero-digital.jpg') center/cover;
}

.slide:nth-child(2) {
    background: linear-gradient(rgba(44, 62, 80, 0.8), rgba(44, 62, 80, 0.8)),
                url('../images/hero-finance.jpg') center/cover;
}

.slide:nth-child(3) {
    background: linear-gradient(rgba(44, 62, 80, 0.8), rgba(44, 62, 80, 0.8)),
                url('../images/hero-investment.jpg') center/cover;
}

.slide a {
    text-decoration: none;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.slide a:hover {
    color: white;
}

.slide.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease-out;
    position: relative;
    z-index: 2;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease-out 0.2s;
    position: relative;
    z-index: 2;
}

.slide.active h1,
.slide.active p {
    opacity: 1;
    transform: translateY(0);
}

/* 导航圆点样式 */
.slider-dots {
    position: absolute;
    bottom: 120px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 2;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: white;
}

/* 了解更多按钮样式 */
.hero .cta-button {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: var(--secondary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    z-index: 2;
}

.hero .cta-button:hover {
    background-color: var(--primary-color);
    transform: translateX(-50%) translateY(-2px);
}

/* 关于我们样式 */
.about {
    padding: 5rem 0;
    background-color: var(--light-bg);
}

.about h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.feature {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.feature i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

/* 产品服务样式 */
.products {
    padding: 5rem 0;
}

.products h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.product-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 280px;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.product-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.product-card p {
    color: #666;
    margin-bottom: 1.5rem;
}

.product-card .cta-button {
    position: relative;
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: var(--secondary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
    margin-top: 1rem;
    transform: none;
}

.product-card .cta-button:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

/* 联系我们样式 */
.contact {
    padding: 5rem 0;
    background-color: var(--light-bg);
}

.contact h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.info-item {
    text-align: center;
}

.info-item i {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

/* 页脚样式 */
footer {
    background-color: var(--primary-color);
    color: white;
    padding: 2rem 0;
    text-align: center;
}

/* 新闻资讯样式 */
.news {
    padding: 5rem 0;
    background-color: white;
}

.news h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.news-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-image {
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-content {
    padding: 1.5rem;
}

.date {
    color: #666;
    font-size: 0.9rem;
}

.news-content h3 {
    margin: 0.5rem 0;
    font-size: 1.2rem;
}

.read-more {
    display: inline-block;
    color: var(--secondary-color);
    text-decoration: none;
    margin-top: 1rem;
}

.center-button {
    text-align: center;
    margin-top: 2rem;
}

.more-button {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: var(--secondary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.more-button:hover {
    background-color: #2980b9;
}

/* 定制方案样式 */
.solutions {
    padding: 5rem 0;
    background-color: var(--light-bg);
}

.solutions h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.solution-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}

.solution-card:hover {
    transform: translateY(-5px);
}

.solution-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.solution-link {
    display: inline-block;
    color: var(--secondary-color);
    text-decoration: none;
    margin-top: 1rem;
}

.solution-link i {
    font-size: 0.9rem;
    margin-left: 0.5rem;
}

/* 技术支持样式 */
.support {
    padding: 5rem 0;
    background-color: white;
}

.support h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.support-channels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.support-item {
    text-align: center;
    padding: 2rem;
    background: var(--light-bg);
    border-radius: 10px;
    transition: transform 0.3s;
}

.support-item:hover {
    transform: translateY(-5px);
}

.support-item i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.support-button {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: var(--secondary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 1rem;
    transition: background-color 0.3s;
}

.support-button:hover {
    background-color: #2980b9;
}

/* 知识库样式 */
.knowledge {
    padding: 5rem 0;
    background-color: var(--light-bg);
}

.knowledge h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.knowledge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.knowledge-category {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.knowledge-category i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.knowledge-category h3 {
    margin: 1rem 0;
}

.knowledge-category ul {
    list-style: none;
    padding: 0;
}

.knowledge-category ul li {
    margin: 0.5rem 0;
}

.knowledge-category ul li a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
}

.knowledge-category ul li a:hover {
    color: var(--secondary-color);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
        cursor: pointer;
    }

    .nav-toggle span {
        display: block;
        width: 25px;
        height: 3px;
        background-color: var(--text-color);
        margin: 5px 0;
        transition: 0.3s;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        padding: 1rem 0;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    .nav-menu.active {
        display: block;
    }

    .nav-menu li {
        display: block;
        text-align: center;
    }

    .nav-menu li a {
        display: block;
        padding: 1rem;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }

    .news-grid,
    .solutions-grid,
    .support-channels,
    .knowledge-grid {
        grid-template-columns: 1fr;
    }

    .nav-menu {
        padding-bottom: 1rem;
    }

    .nav-menu li {
        margin: 0.5rem 0;
    }
} 