/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #1B5A9E;
    --primary-orange: #FF8C42;
    --dark-gray: #2C3E50;
    --light-gray: #F8F9FA;
    --white: #FFFFFF;
    --text-dark: #333333;
    --text-light: #666666;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB',
                 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    padding: 15px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav-brand .logo {
    height: 70px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--primary-orange);
}

.lang-switch {
    display: flex;
    gap: 5px;
}
.lang-btn {
    padding: 5px 15px;
    border: 2px solid var(--primary-blue);
    background: transparent;
    color: var(--primary-blue);
    cursor: pointer;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s;
}

.lang-btn.active {
    background: var(--primary-blue);
    color: var(--white);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-blue);
    transition: all 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #2980b9 100%);
    color: var(--white);
    margin-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><path d="M0,300 Q300,200 600,300 T1200,300 L1200,600 L0,600 Z" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: cover;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
    line-height: 1.8;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeInUp 1s ease 0.4s both;
}

.btn {
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary {
    background: var(--primary-orange);
    color: var(--white);
}

.btn-primary:hover {
    background: #ff7a29;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 140, 66, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-blue);
}

/* 主营业务 */
.business {
    padding: 100px 0;
    background: var(--white);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-orange);
    margin: 20px auto 0;
}

.business-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.business-card {
    padding: 40px;
    background: var(--light-gray);
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s;
}

.business-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.business-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.business-card h3 {
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.business-card ul {
    list-style: none;
    padding-left: 0;
}

.business-card li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-light);
    line-height: 1.6;
}

.business-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-orange);
    font-weight: 700;
    font-size: 1.1rem;
}

.business-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* 产品解决方案 */
.solutions {
    padding: 100px 0;
    background: var(--light-gray);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.solution-card {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    position: relative;
    transition: all 0.3s;
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.solution-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-orange);
    opacity: 0.2;
}

.solution-card h3 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.solution-card p {
    color: var(--text-light);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.solution-card ul {
    list-style: none;
}

.solution-card li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-light);
}

.solution-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-orange);
    font-weight: 700;
}

.platform-section {
    text-align: center;
    padding: 40px;
    background: var(--white);
    border-radius: 15px;
}

.platform-section h3 {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.platform-logo p {
    font-size: 1.5rem;
    color: var(--text-dark);
    font-weight: 600;
}

.software-package {
    margin-top: 20px;
}

.software-package p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* 软件下载 */
.downloads {
    padding: 100px 0;
    background: var(--white);
}

.downloads-table {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

thead {
    background: var(--primary-blue);
    color: var(--white);
}

th, td {
    padding: 20px;
    text-align: left;
}

tbody tr {
    border-bottom: 1px solid #eee;
    transition: background 0.3s;
}

tbody tr:hover {
    background: var(--light-gray);
}

.download-link {
    color: var(--primary-orange);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.download-link:hover {
    color: var(--primary-blue);
}

/* 业务合作 */
.partners {
    padding: 100px 0;
    background: var(--light-gray);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.partner-category {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
}

.partner-category h3 {
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-bottom: 30px;
    text-align: center;
}

.partner-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.partner-item {
    text-align: center;
    padding: 20px;
    background: var(--light-gray);
    border-radius: 10px;
    transition: all 0.3s;
}

.partner-item:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.partner-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 10px;
}

.partner-item p {
    font-weight: 600;
    color: var(--text-dark);
}

.clients-section {
    text-align: center;
    padding: 40px;
    background: var(--white);
    border-radius: 15px;
}

.clients-section h3 {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 30px;
}

.client-logo p {
    font-size: 1.3rem;
    color: var(--text-dark);
    font-weight: 600;
}

/* 联系我们 */
.contact {
    padding: 40px 0 20px;
    background: var(--dark-gray);
    color: var(--white);
}

.contact-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.contact-info h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--primary-orange);
}

.contact-info p {
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.contact-logo{
    padding: 10px;
    background-color: white;
}
.contact-logo img {
    height: 60px;
    width: auto;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
}

/* 动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .business-grid,
    .partners-grid {
        grid-template-columns: 1fr;
    }

    .solutions-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .partner-items {
        grid-template-columns: 1fr;
    }
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 滚动时导航栏样式 */
.navbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

/* 多页面样式 */
.page-content {
    min-height: calc(100vh - 80px - 300px);
    padding-top: 120px;
}

.page-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 60px;
    position: relative;
}

.page-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-orange);
    margin: 20px auto 0;
}

/* 导航栏激活状态 */
.nav-menu a.active {
    color: var(--primary-orange);
    font-weight: 600;
}

/* 联系我们页面 */
.contact-page {
    min-height: calc(100vh - 80px - 120px);
    padding-bottom: 80px;
}

.contact-page-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
    max-width: 900px;
    margin: 0 auto;
}

.contact-info-large {
    flex: 1;
}

.contact-item {
    margin-bottom: 40px;
}

.contact-item h3 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.contact-item p {
    font-size: 1.2rem;
    color: var(--text-dark);
    line-height: 1.8;
}

.contact-logo-large {
    flex: 0 0 300px;
}

.contact-logo-large img {
    width: 100%;
    height: auto;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .page-content {
        padding-top: 100px;
    }

    .contact-page-content {
        flex-direction: column;
        text-align: center;
    }

    .contact-logo-large {
        flex: 0 0 200px;
    }
    .nav-brand .logo {
        height: 50px;
        width: auto;
    }
    .contact-logo img{
        height: 40px;
        width: auto;
    }
}
