/* 重置和基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1E272E;
    background-color: #ECEFF1;
    overflow-x: hidden;
}

/* 容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 按钮样式 */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #0A3D62, #3C6382);
    color: white;
    box-shadow: 0 4px 15px rgba(10, 61, 98, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(10, 61, 98, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.btn-outline {
    background: transparent;
    color: #0A3D62;
    border: 2px solid #0A3D62;
}

.btn-outline:hover {
    background: #0A3D62;
    color: white;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    color: #0A3D62;
}

.logo i {
    font-size: 28px;
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-link {
    color: #1E272E;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #0A3D62;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #0A3D62;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
}

.menu-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: #1E272E;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu {
    display: none;
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
}

.mobile-menu-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-nav-link {
    color: #1E272E;
    text-decoration: none;
    font-weight: 500;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: color 0.3s ease;
}

.mobile-nav-link:hover {
    color: #0A3D62;
}

/* 英雄区域 */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -2;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 61, 98, 0.9), rgba(60, 99, 130, 0.7));
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    color: white;
    z-index: 1;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 32px;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 24px;
    animation: bounce 2s infinite;
}

.scroll-indicator a {
    color: white;
    text-decoration: none;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* 通用区域样式 */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    color: #0A3D62;
    margin-bottom: 16px;
    margin-top:35px !important;
}

.section-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #60A3BC, #3C6382);
    margin: 0 auto 24px;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* 关于我们 */
.about {
    padding: 100px 0;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-badge {
    position: absolute;
    bottom: -24px;
    right: -24px;
    background: #0A3D62;
    color: white;
    padding: 24px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(10, 61, 98, 0.3);
}

.badge-number {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 4px;
}

.badge-text {
    font-size: 14px;
    opacity: 0.9;
}

.about-subtitle {
    font-size: 28px;
    font-weight: 600;
    color: #3C6382;
    margin-bottom: 24px;
}

.about-description {
    font-size: 16px;
    color: #666;
    margin-bottom: 24px;
    line-height: 1.7;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 32px 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(10, 61, 98, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 20px;
    color: #0A3D62;
}

.feature-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #1E272E;
}

.feature-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* 产品服务 */
.products {
    padding: 100px 0;
    background: #f8f9fa;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.product-image {
    height: 200px;
    overflow: hidden;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-img {
    transform: scale(1.1);
}

.product-content {
    padding: 24px;
}

.product-title {
    font-size: 20px;
    font-weight: 600;
    color: #0A3D62;
    margin-bottom: 12px;
}

.product-description {
    color: #666;
    margin-bottom: 16px;
    line-height: 1.6;
}

.product-features {
    list-style: none;
    margin-bottom: 20px;
}

.product-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: #666;
    font-size: 14px;
}

.product-features i {
    color: #60A3BC;
    font-size: 12px;
}

.product-link {
    color: #0A3D62;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.product-link:hover {
    color: #60A3BC;
}

/* 技术实力 */
.technology {
    padding: 100px 0;
    background: white;
}

.tech-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    margin-bottom: 80px;
}

.tech-subtitle {
    font-size: 28px;
    font-weight: 600;
    color: #3C6382;
    margin-bottom: 24px;
}

.tech-description {
    font-size: 16px;
    color: #666;
    margin-bottom: 32px;
    line-height: 1.7;
}

.skills-container {
    margin-bottom: 32px;
}

.skill-item {
    margin-bottom: 24px;
}

.skill-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.skill-name {
    font-weight: 500;
    color: #1E272E;
}

.skill-percentage {
    font-weight: 600;
    color: #0A3D62;
}

.skill-bar {
    width: 100%;
    height: 8px;
    background: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, #0A3D62, #60A3BC);
    border-radius: 4px;
    transition: width 1s ease;
}

.tech-image {
    position: relative;
}

.tech-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.tech-badge {
    position: absolute;
    top: -20px;
    left: -20px;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
}

.badge-icon {
    width: 48px;
    height: 48px;
    background: rgba(96, 163, 188, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-icon i {
    font-size: 24px;
    color: #60A3BC;
}

.badge-content .badge-number {
    font-size: 24px;
    font-weight: 700;
    color: #0A3D62;
    margin-bottom: 2px;
}

.badge-content .badge-text {
    font-size: 12px;
    color: #666;
}

/* 技术应用领域 */
.tech-areas {
    background: rgba(10, 61, 98, 0.05);
    padding: 48px;
    border-radius: 16px;
}

.areas-title {
    font-size: 24px;
    font-weight: 600;
    color: #3C6382;
    text-align: center;
    margin-bottom: 40px;
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}

.area-item {
    background: white;
    padding: 24px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.area-item:hover {
    transform: translateY(-4px);
    border-color: #60A3BC;
    box-shadow: 0 8px 25px rgba(96, 163, 188, 0.2);
}

.area-icon {
    width: 64px;
    height: 64px;
    background: rgba(10, 61, 98, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.area-icon i {
    font-size: 24px;
    color: #0A3D62;
}

.area-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1E272E;
}

.area-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* 成功案例 */
.cases {
    padding: 100px 0;
    background: #f8f9fa;
}

.case-filters {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    background: white;
    color: #1E272E;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.filter-btn:hover {
    background: rgba(10, 61, 98, 0.1);
    color: #0A3D62;
}

.filter-btn.active {
    background: #0A3D62;
    color: white;
    box-shadow: 0 4px 15px rgba(10, 61, 98, 0.3);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    margin-bottom: 48px;
}

.case-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.case-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.case-image {
    height: 200px;
    overflow: hidden;
}

.case-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.case-item:hover .case-img {
    transform: scale(1.1);
}

.case-content {
    padding: 24px;
}

.case-category {
    display: inline-block;
    background: rgba(10, 61, 98, 0.1);
    color: #0A3D62;
    font-size: 12px;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 12px;
    margin-bottom: 12px;
}

.case-title {
    font-size: 18px;
    font-weight: 600;
    color: #0A3D62;
    margin-bottom: 12px;
    line-height: 1.4;
}

.case-description {
    color: #666;
    margin-bottom: 16px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.case-link {
    color: #0A3D62;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.case-link:hover {
    color: #60A3BC;
}

.cases-footer {
    text-align: center;
}

/* 联系我们 */
.contact {
    padding: 100px 0;
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
}

.info-card {
    background: #f8f9fa;
    padding: 48px;
    border-radius: 16px;
    height: fit-content;
}

.info-title {
    font-size: 24px;
    font-weight: 600;
    color: #3C6382;
    margin-bottom: 32px;
}

.info-items {
    margin-bottom: 32px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.info-icon {
    width: 48px;
    height: 48px;
    background: rgba(10, 61, 98, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon i {
    font-size: 20px;
    color: #0A3D62;
}

.info-label {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #1E272E;
}

.info-text {
    color: #666;
    line-height: 1.5;
}

.social-links {
    border-top: 1px solid #e0e0e0;
    padding-top: 24px;
}

.social-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #1E272E;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: #0A3D62;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #3C6382;
    transform: translateY(-2px);
}

/* 表单样式 */
.form {
    background: #f8f9fa;
    padding: 48px;
    border-radius: 16px;
}

.form-title {
    font-size: 24px;
    font-weight: 600;
    color: #3C6382;
    margin-bottom: 32px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: #1E272E;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #0A3D62;
    box-shadow: 0 0 0 3px rgba(10, 61, 98, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* 页脚 */
.footer {
    background: #0A3D62;
    color: white;
    padding: 64px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-logo i {
    font-size: 28px;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 24px;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.footer-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: white;
}

.footer-info {
    list-style: none;
}

.footer-info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-info-item i {
    color: #60A3BC;
    margin-top: 2px;
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-legal-link:hover {
    color: white;
}

/* 回到顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background: #0A3D62;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(10, 61, 98, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #3C6382;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(10, 61, 98, 0.4);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .mobile-menu.show {
        display: block;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .about-content,
    .tech-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .products-grid,
    .cases-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .case-filters {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 8px;
    }
    
    .filter-btn {
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .areas-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .container {
        padding: 0 16px;
    }
    
    .section-header {
        margin-bottom: 48px;
    }
    
    .about,
    .products,
    .technology,
    .cases,
    .contact {
        padding: 60px 0;
    }
    
    .hero {
        min-height: 80vh;
    }
    
    .about-badge,
    .tech-badge {
        position: static;
        margin-top: 16px;
        display: inline-block;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .product-card,
    .case-item {
        margin: 0 8px;
    }
    
    .info-card,
    .form {
        padding: 24px;
    }
    
    .tech-areas {
        padding: 24px;
    }
}
