/* ============================================
   全局样式 - 深空蓝科技风
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "Source Han Sans CN", sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

/* ============================================
   导航栏 - 固定悬浮
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(10, 36, 99, 0.08);
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 4px 20px rgba(10, 36, 99, 0.12);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-image {
    width: 45px;
    height: 45px;
    object-fit: contain;
    border-radius: 8px;
}

.logo-text {
    font-size: 22px;
    font-weight: bold;
    color: #0A2463;
    white-space: nowrap;
}

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

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-size: 15px;
    transition: all 0.3s;
    padding: 8px 15px;
    border-radius: 5px;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #0A2463;
    background: rgba(10, 36, 99, 0.08);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 25px;
    height: 3px;
    background: #0A2463;
    border-radius: 2px;
}

.btn-consult {
    background: linear-gradient(135deg, #0A2463 0%, #3E92CC 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(10, 36, 99, 0.3);
}

.btn-consult:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(10, 36, 99, 0.4);
}

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

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #0A2463;
    border-radius: 2px;
    transition: all 0.3s;
}

/* ============================================
   Banner区域 - 首屏主Banner
   ============================================ */
.banner {
    margin-top: 75px;
    position: relative;
    min-height: 650px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.banner-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 36, 99, 0.9) 0%, rgba(62, 146, 204, 0.85) 50%, rgba(10, 36, 99, 0.9) 100%);
    z-index: 1;
}

.banner .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.banner-content {
    padding: 100px 0;
}

.banner-text {
    max-width: 800px;
    color: white;
}

.banner-text h1 {
    font-size: 52px;
    color: white;
    margin-bottom: 25px;
    font-weight: 700;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease-out;
    letter-spacing: 1px;
}

.banner-text .subtitle {
    font-size: 22px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 15px;
    font-weight: 500;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.banner-text .slogan {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 45px;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.banner-buttons {
    display: flex;
    gap: 20px;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.btn-primary-action,
.btn-secondary-action {
    border: none;
    padding: 16px 40px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.btn-primary-action {
    background: white;
    color: #0A2463;
}

.btn-primary-action:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

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

.btn-secondary-action:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

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

/* ============================================
   通用标题样式
   ============================================ */
.section-title {
    text-align: center;
    font-size: 42px;
    color: #0A2463;
    margin-bottom: 20px;
    font-weight: 700;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #0A2463, #3E92CC);
    margin: 15px auto 0;
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 16px;
    color: #666;
    margin-bottom: 60px;
}

/* ============================================
   核心优势板块
   ============================================ */
.advantages {
    padding: 100px 0;
    background: #F5F7FA;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.advantage-card {
    background: white;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(10, 36, 99, 0.08);
    transition: all 0.3s;
    border: 1px solid #e8e8e8;
}

.advantage-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(10, 36, 99, 0.15);
    border-color: #3E92CC;
}

.advantage-icon {
    margin-bottom: 25px;
}

.advantage-card h3 {
    font-size: 20px;
    color: #0A2463;
    margin-bottom: 15px;
    font-weight: 600;
}

.advantage-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
}

/* ============================================
   核心产品速览
   ============================================ */
.products-preview {
    padding: 100px 0;
    background: white;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(10, 36, 99, 0.08);
    transition: all 0.3s;
    border: 1px solid #e8e8e8;
}

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

.product-image {
    height: 220px;
    background: linear-gradient(135deg, #F5F7FA 0%, #e8e8e8 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* 产品轮播图样式 */
.product-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.slider-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.slider-wrapper {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.slider-wrapper img {
    min-width: 100%;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(10, 36, 99, 0.7);
    color: white;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10;
    opacity: 0;
}

.product-card:hover .slider-btn {
    opacity: 1;
}

.slider-btn:hover {
    background: rgba(10, 36, 99, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.slider-prev {
    left: 10px;
}

.slider-next {
    right: 10px;
}

.slider-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.slider-dot.active {
    background: white;
    transform: scale(1.2);
}

.slider-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* 轮播速度指示器 */
.speed-indicator {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(10, 36, 99, 0.8);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s;
}

.product-card:hover .speed-indicator {
    opacity: 1;
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #0A2463, #3E92CC);
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.product-info {
    padding: 25px;
}

.product-info h3 {
    font-size: 20px;
    color: #0A2463;
    margin-bottom: 12px;
    font-weight: 600;
}

.product-info p {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.product-tag {
    display: inline-block;
    background: #F5F7FA;
    color: #0A2463;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    margin-bottom: 15px;
    margin-right: 20px;
}

.product-link {
    color: #3E92CC;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s;
}

.product-link:hover {
    gap: 10px;
}

/* ============================================
   核心业务体系
   ============================================ */
.business-system {
    padding: 100px 0;
    background: linear-gradient(135deg, #0A2463 0%, #3E92CC 100%);
    color: white;
}

.business-system .section-title {
    color: white;
}

.business-system .section-title::after {
    background: white;
}

.business-system .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.business-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.flow-step {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 30px 25px;
    text-align: center;
    min-width: 200px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s;
}

.flow-step:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.step-number {
    font-size: 36px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 15px;
}

.step-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.flow-step h3 {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 600;
}

.flow-step p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

.flow-arrow {
    font-size: 30px;
    color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   合作案例速览
   ============================================ */
.cases-preview {
    padding: 100px 0;
    background: #F5F7FA;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.case-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(10, 36, 99, 0.08);
    transition: all 0.3s;
}

.case-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(10, 36, 99, 0.15);
}

.case-image {
    height: 200px;
    background: linear-gradient(135deg, #0A2463 0%, #3E92CC 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.case-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(10, 36, 99, 0.1) 0%, rgba(10, 36, 99, 0.3) 100%);
    transition: all 0.3s;
}

.case-card:hover .case-image::after {
    background: linear-gradient(to bottom, rgba(10, 36, 99, 0.2) 0%, rgba(10, 36, 99, 0.5) 100%);
}

.case-info {
    padding: 20px;
}

.case-info h3 {
    font-size: 18px;
    color: #0A2463;
    margin-bottom: 8px;
    font-weight: 600;
}

.case-info p {
    font-size: 14px;
    color: #666;
}

.view-all-cases {
    text-align: center;
}

.btn-outline {
    display: inline-block;
    padding: 12px 35px;
    border: 2px solid #0A2463;
    color: #0A2463;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-outline:hover {
    background: #0A2463;
    color: white;
}

/* ============================================
   底部咨询板块
   ============================================ */
.consult-section {
    padding: 80px 0;
    background: white;
}

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

.consult-text h2 {
    font-size: 36px;
    color: #0A2463;
    margin-bottom: 15px;
    font-weight: 700;
}

.consult-text > p {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}

.consult-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    color: #333;
}

.info-item .icon {
    font-size: 20px;
}

.consult-form {
    background: #F5F7FA;
    padding: 40px;
    border-radius: 12px;
}

.consult-form h3 {
    font-size: 24px;
    color: #0A2463;
    margin-bottom: 25px;
    font-weight: 600;
}

.consult-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.consult-form input,
.consult-form textarea {
    padding: 12px 18px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.consult-form input:focus,
.consult-form textarea:focus {
    outline: none;
    border-color: #3E92CC;
}

.btn-submit {
    background: linear-gradient(135deg, #0A2463 0%, #3E92CC 100%);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(10, 36, 99, 0.3);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.form-tip {
    font-size: 12px;
    color: #999;
    margin-top: 10px;
    text-align: center;
}

/* 表单加载状态 */
.btn-submit.loading {
    position: relative;
    color: transparent;
}

.btn-submit.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spinner 0.8s linear infinite;
}

@keyframes spinner {
    to {
        transform: rotate(360deg);
    }
}

/* 表单成功/错误提示 */
.form-message {
    padding: 12px 18px;
    border-radius: 8px;
    font-size: 14px;
    margin-top: 10px;
    display: none;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* ============================================
   页脚
   ============================================ */
.footer {
    background: #0A2463;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 2fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.footer-logo-image {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 8px;
}

.footer-logo span {
    font-size: 18px;
    font-weight: 600;
}

.footer-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
}

.footer-address {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-center {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.footer-links-group h4 {
    font-size: 16px;
    margin-bottom: 15px;
    font-weight: 600;
}

.footer-links-group a {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.footer-links-group a:hover {
    color: white;
}

.qr-code {
    text-align: center;
}

.qr-placeholder {
    width: 120px;
    height: 120px;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0A2463;
    font-size: 12px;
    margin: 0 auto 10px;
}

.qr-code p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin: 8px 0;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin: 0 10px;
}

.footer-bottom a:hover {
    color: white;
}

.icp-info {
    font-size: 13px;
    margin-top: 5px;
}

.icp-info a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s;
}

.icp-info a:hover {
    color: #3E92CC;
}

/* ============================================
   悬浮咨询窗口
   ============================================ */
.floating-consult {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 999;
}

.consult-btn {
    background: linear-gradient(135deg, #0A2463 0%, #3E92CC 100%);
    color: white;
    border: none;
    padding: 15px 25px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 5px 20px rgba(10, 36, 99, 0.3);
    transition: all 0.3s;
}

.consult-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(10, 36, 99, 0.4);
}

.consult-btn span:first-child {
    width: 8px;
    height: 8px;
    background: #4CAF50;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* ============================================
   响应式设计
   ============================================ */
@media (max-width: 1200px) {
    .advantages-grid,
    .products-grid,
    .cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .banner-text h1 {
        font-size: 42px;
    }

    .business-flow {
        flex-direction: column;
    }

    .flow-arrow {
        transform: rotate(90deg);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .btn-consult {
        display: none;
    }

    .banner {
        min-height: 500px;
    }

    .banner-text h1 {
        font-size: 28px;
    }

    .banner-text .subtitle {
        font-size: 18px;
    }

    .banner-text .slogan {
        font-size: 14px;
    }

    .banner-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .btn-primary-action,
    .btn-secondary-action {
        width: 100%;
    }

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

    .advantages-grid,
    .products-grid,
    .cases-grid {
        grid-template-columns: 1fr;
    }

    .consult-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-center {
        grid-template-columns: 1fr;
    }

    .floating-consult {
        right: 15px;
        bottom: 15px;
    }

    .consult-btn {
        padding: 12px 20px;
        font-size: 14px;
    }
}
