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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
}

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

/* 导航栏 */
.header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 24px;
    font-weight: bold;
}

.nav a {
    color: white;
    text-decoration: none;
    margin-left: 30px;
    transition: opacity 0.3s;
}

.nav a:hover {
    opacity: 0.8;
}

/* 首页横幅 */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 100px 20px;
}

.hero h2 {
    font-size: 48px;
    margin-bottom: 10px;
}

.hero p {
    font-size: 24px;
    margin-bottom: 10px;
}

.hero-desc {
    font-size: 18px !important;
    opacity: 0.9;
    margin-bottom: 30px !important;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    background: white;
    color: #667eea;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.btn-large {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 20px 50px;
    font-size: 20px;
}

/* 通用区块样式 */
section {
    padding: 80px 20px;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #1e3c72;
}

/* 关于我们 */
.about {
    background: #f8f9fa;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h3 {
    font-size: 28px;
    color: #1e3c72;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 15px;
    color: #555;
    line-height: 1.8;
}

.about-features {
    display: grid;
    gap: 25px;
}

.feature-item {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    gap: 20px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.feature-item h4 {
    color: #1e3c72;
    margin-bottom: 5px;
}

.feature-item p {
    color: #666;
    font-size: 14px;
}

/* 产品中心 */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background: white;
    border-radius: 15px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.product-image {
    font-size: 60px;
    margin-bottom: 20px;
}

.product-card h3 {
    color: #1e3c72;
    margin-bottom: 15px;
    font-size: 20px;
}

.product-card p {
    color: #666;
    line-height: 1.7;
}

/* 服务项目 */
.services {
    background: #f8f9fa;
}

.service-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-item {
    background: white;
    padding: 30px;
    border-radius: 10px;
    border-left: 5px solid #667eea;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.service-item h3 {
    color: #1e3c72;
    margin-bottom: 15px;
    font-size: 22px;
}

.service-item p {
    color: #666;
    line-height: 1.7;
}

/* 应用领域 */
.applications {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
}

.applications .section-title {
    color: white;
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.app-item {
    background: rgba(255,255,255,0.1);
    padding: 30px 20px;
    text-align: center;
    border-radius: 10px;
    font-size: 18px;
    font-weight: bold;
    transition: background 0.3s;
}

.app-item:hover {
    background: rgba(255,255,255,0.2);
}

/* 联系我们 */
.contact {
    background: #f8f9fa;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.contact-info h3 {
    color: #1e3c72;
    font-size: 26px;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-item .icon {
    font-size: 28px;
    flex-shrink: 0;
}

.contact-item strong {
    color: #1e3c72;
    display: block;
    margin-bottom: 5px;
}

.contact-item p {
    color: #333;
    font-size: 18px;
}

.contact-cta {
    text-align: center;
    padding: 40px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-cta p {
    color: #666;
    margin-bottom: 25px;
    font-size: 18px;
    line-height: 1.7;
}

/* 页脚 */
.footer {
    background: #1a1a1a;
    color: white;
    text-align: center;
    padding: 30px 20px;
}

.footer p {
    margin-bottom: 10px;
}

.footer p:last-child {
    color: #888;
    font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .hero h2 {
        font-size: 32px;
    }

    .hero p {
        font-size: 18px;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 28px;
    }

    .btn-large {
        padding: 15px 30px;
        font-size: 16px;
    }
}
