:root {
    --primary-color: #2496ed;
    --secondary-color: #1d70f7;
    --text-color: #242424;
    --light-gray: #f5f5f5;
    --gradient-start: #2b5876;
    --gradient-end: #4e4376;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
        Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
.navbar {
    background: white;
    box-shadow: 0 2px 4px 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;
    height: 80px;
    padding: 0 30px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
}

/* 主要横幅样式 */
.hero {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 120px 0 80px;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* 按钮样式 */
.button {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.button.primary {
    background: var(--primary-color);
    color: white;
}

.button.secondary {
    background: white;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    margin-left: 1rem;
}

/* 特性卡片样式 */
.features {
    padding: 80px 0;
    background: var(--light-gray);
}

.features .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: center;
}

/* 添加解决方案部分样式 */
.solution-section {
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.solution-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: url('city-bg.jpg') no-repeat right bottom;
    background-size: cover;
    opacity: 0.2;
}

.solution-content {
    color: white;
    max-width: 50%;
    position: relative;
    z-index: 2;
}

.solution-content h2 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: normal;
    letter-spacing: 1px;
}

.solution-content h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.solution-content p {
    margin-bottom: 2rem;
    line-height: 1.8;
    opacity: 0.9;
}

.more-btn {
    background: transparent;
    border: 2px solid white;
    color: white;
    padding: 8px 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.more-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.solution-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 40px;
    position: relative;
    z-index: 2;
}

.solution-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* 为每个卡片添加不同的渐变背景 */
.solution-card:nth-child(1) {
    background: linear-gradient(135deg, #E8F4FF 0%, #F0F9FF 100%);
    border-left: 4px solid #2496ed;
}

.solution-card:nth-child(2) {
    background: linear-gradient(135deg, #F0F4FF 0%, #F5F8FF 100%);
    border-left: 4px solid #1d70f7;
}

.solution-card:nth-child(3) {
    background: linear-gradient(135deg, #FFF4F0 0%, #FFF8F5 100%);
    border-left: 4px solid #ff7849;
}

.solution-card:nth-child(4) {
    background: linear-gradient(135deg, #F0FFF4 0%, #F5FFF8 100%);
    border-left: 4px solid #4CAF50;
}

.solution-card:hover {
    transform: translateY(-5px);
}

.solution-card .icon {
    display: block;
    width: 40px;
    height: 40px;
    margin: 0 auto 16px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.icon.building {
    background-image: url('building-icon.png');
}

.icon.city {
    background-image: url('city-icon.png');
}

.icon.house {
    background-image: url('house-icon.png');
}

.icon.commercial {
    background-image: url('commercial-icon.png');
}

.icon.software {
    background-image: url('software-icon.png');
}

.icon.network {
    background-image: url('network-icon.png');
}

.icon.consulting {
    background-image: url('consulting-icon.png');
}

.icon.product {
    background-image: url('product-icon.png');
}

/* 优化卡片内容样式 */
.solution-card h4 {
    color: var(--text-color);
    margin: 1rem 0;
    font-size: 1.2rem;
    position: relative;
    z-index: 1;
}

.solution-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* 添加公司名称样式 */
.company-name {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 600;
}

/* 页脚样式 */
.footer {
    background-color: #2c2c2c;
    padding: 15px 0;
    color: #999;
    font-size: 14px;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-keywords {
    color: #999;
    margin-bottom: 5px;
}

.footer-keywords a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-keywords a:hover {
    color: #fff;
}

.footer-copyright {
    color: #666;
    padding-top: 5px;
}

/* 导航栏右侧布局 */
.nav-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

/* 语言切换按钮样式 */
.language-switch {
    display: flex;
    gap: 1px;
    background: #eee;
    padding: 2px;
    border-radius: 4px;
}

.lang-btn {
    border: none;
    background: none;
    padding: 4px 8px;
    cursor: pointer;
    font-size: 14px;
    border-radius: 3px;
    color: var(--text-color);
}

.lang-btn.active {
    background: white;
    color: var(--primary-color);
}

.lang-btn:hover:not(.active) {
    background: rgba(255, 255, 255, 0.5);
} 