/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 按钮样式 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 32px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #1e5799 0%, #2989d8 50%, #207cca 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(30, 87, 153, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 87, 153, 0.4);
}

.btn-large {
    padding: 16px 48px;
    font-size: 18px;
}

.btn-full {
    width: 100%;
}

/* 区块标题 */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: #1a2a4a;
    margin-bottom: 15px;
}

.section-line {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #1e5799, #2989d8);
    margin: 0 auto;
    border-radius: 2px;
}

/* 顶部导航 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo h1 {
    font-size: 22px;
    font-weight: 700;
    color: #1a2a4a;
    line-height: 1.2;
}

.logo-sub {
    font-size: 12px;
    color: #666;
    letter-spacing: 2px;
}

.nav-list {
    display: flex;
    gap: 40px;
}

.nav-list a {
    font-size: 16px;
    color: #333;
    font-weight: 500;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.nav-list a:hover,
.nav-list a.active {
    color: #1e5799;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #1e5799;
    transition: width 0.3s ease;
}

.nav-list a:hover::after,
.nav-list a.active::after {
    width: 100%;
}

.header-phone a {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #1e5799 0%, #2989d8 100%);
    color: #fff;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.header-phone a:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(30, 87, 153, 0.4);
}

.phone-icon {
    font-size: 18px;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background: #1a2a4a;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu {
    display: none;
    background: #fff;
    border-top: 1px solid #eee;
}

.mobile-menu ul {
    padding: 20px 0;
}

.mobile-menu li a {
    display: block;
    padding: 15px 30px;
    font-size: 16px;
    color: #333;
    transition: all 0.3s ease;
}

.mobile-menu li a:hover {
    background: #f5f8fc;
    color: #1e5799;
}

/* Banner区域 */
.banner {
    position: relative;
    height: 600px;
    margin-top: 80px;
    overflow: hidden;
}

.banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.banner-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 30, 60, 0.85) 0%, rgba(30, 87, 153, 0.7) 100%);
}

.banner-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
}

.banner-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
}

.banner-title span {
    background: linear-gradient(90deg, #4facfe, #00f2fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.banner-subtitle {
    font-size: 20px;
    margin-bottom: 50px;
    opacity: 0.9;
    max-width: 700px;
}

.banner-stats {
    display: flex;
    gap: 60px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: #4facfe;
}

.stat-label {
    font-size: 14px;
    opacity: 0.8;
}

/* 关于我们 */
.about {
    padding: 80px 0;
    background: #f8fafc;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.about-text .btn {
    margin-top: 20px;
}

.about-image {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.image-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.image-card:hover {
    transform: translateY(-5px);
}

.image-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: #fff;
    padding: 30px 15px 15px;
    font-size: 14px;
    text-align: center;
}

.image-card-small {
    margin-top: 30px;
}

/* 产品中心 */
.products {
    padding: 80px 0;
    background: #fff;
}

.product-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 32px;
    border: 2px solid #e0e7ff;
    background: #fff;
    color: #666;
    font-size: 16px;
    font-weight: 500;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    border-color: #1e5799;
    color: #1e5799;
}

.tab-btn.active {
    background: linear-gradient(135deg, #1e5799 0%, #2989d8 100%);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(30, 87, 153, 0.3);
}

.product-grid {
    display: none;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.product-grid.active {
    display: grid;
}

.product-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(30, 87, 153, 0.15);
}

.product-img {
    height: 200px;
    overflow: hidden;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-img img {
    transform: scale(1.1);
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1a2a4a;
    margin-bottom: 10px;
}

.product-info p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.product-tag {
    display: inline-block;
    padding: 4px 12px;
    background: #e8f0fe;
    color: #1e5799;
    font-size: 12px;
    border-radius: 20px;
    font-weight: 500;
}

/* 核心优势 */
.advantages {
    padding: 80px 0;
    background: #f8fafc;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.advantage-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(30, 87, 153, 0.12);
}

.advantage-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.advantage-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1a2a4a;
    margin-bottom: 15px;
}

.advantage-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
}

.cta-wrapper {
    text-align: center;
}

/* 联系我们 */
.contact {
    padding: 80px 0;
    background: linear-gradient(135deg, #0a1e3c 0%, #1e3a5f 100%);
    color: #fff;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
}

.contact-slogan {
    font-size: 16px;
    color: #94a3b8;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.contact-label {
    font-size: 14px;
    color: #94a3b8;
    margin-bottom: 5px;
}

.contact-value {
    font-size: 18px;
    font-weight: 600;
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-form h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
}

.form-desc {
    font-size: 14px;
    color: #94a3b8;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    color: #fff;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #64748b;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4facfe;
    background: rgba(255, 255, 255, 0.08);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* 底部 */
.footer {
    background: #0a1628;
    color: #94a3b8;
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-info h3 {
    font-size: 20px;
    color: #fff;
    margin-bottom: 8px;
}

.footer-info p {
    font-size: 14px;
    margin-bottom: 5px;
}

.footer-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    color: #4facfe;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    font-size: 13px;
}

/* 浮动电话按钮 */
.float-phone {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.float-phone a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1e5799 0%, #2989d8 100%);
    border-radius: 50%;
    font-size: 28px;
    box-shadow: 0 5px 20px rgba(30, 87, 153, 0.4);
    animation: pulse 2s infinite;
    transition: transform 0.3s ease;
}

.float-phone a:hover {
    transform: scale(1.1);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(30, 87, 153, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(30, 87, 153, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(30, 87, 153, 0);
    }
}

/* 响应式设计 */
@media screen and (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .section-title {
        font-size: 28px;
    }
    
    .header-inner {
        height: 70px;
    }
    
    .logo h1 {
        font-size: 18px;
    }
    
    .logo-sub {
        display: none;
    }
    
    .nav,
    .header-phone {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .mobile-menu.active {
        display: block;
    }
    
    .banner {
        height: 500px;
        margin-top: 70px;
    }
    
    .banner-title {
        font-size: 32px;
    }
    
    .banner-subtitle {
        font-size: 16px;
        margin-bottom: 30px;
    }
    
    .banner-stats {
        gap: 30px;
    }
    
    .stat-number {
        font-size: 24px;
    }
    
    .stat-label {
        font-size: 12px;
    }
    
    .about {
        padding: 50px 0;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image {
        order: -1;
    }
    
    .products {
        padding: 50px 0;
    }
    
    .product-tabs {
        gap: 10px;
    }
    
    .tab-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .product-img {
        height: 150px;
    }
    
    .product-info {
        padding: 15px;
    }
    
    .product-info h3 {
        font-size: 16px;
    }
    
    .product-info p {
        font-size: 13px;
    }
    
    .advantages {
        padding: 50px 0;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .advantage-card {
        padding: 30px 20px;
    }
    
    .contact {
        padding: 50px 0;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-info h2 {
        font-size: 24px;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .float-phone {
        bottom: 20px;
        right: 20px;
    }
    
    .float-phone a {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}

@media screen and (max-width: 480px) {
    .banner {
        height: 450px;
    }
    
    .banner-title {
        font-size: 26px;
    }
    
    .banner-subtitle {
        font-size: 14px;
    }
    
    .banner-stats {
        gap: 20px;
        flex-wrap: wrap;
    }
    
    .stat-item {
        width: calc(50% - 10px);
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .product-img {
        height: 180px;
    }
    
    .tab-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .image-card img {
        height: 150px;
    }
    
    .btn-large {
        padding: 14px 32px;
        font-size: 16px;
    }
}
