@font-face {
    font-family: "Advent Pro";
    src: url("AdventPro-Bold.woff2") format('woff'),url("AdventPro-Bold.ttf") format('truetype');
}

/* 现代化设计风格 - 参考 FORiT 和 G-KIT */
body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    color: #2d3748;
    line-height: 1.7;
    font-size: 16px;
    scroll-behavior: smooth;
}

/* 统一的容器包装器 */
.container-wrapper {
    width: 100%;
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 1) 0%, 
        rgba(248, 250, 252, 0.95) 20%,
        rgba(240, 248, 255, 0.8) 40%,
        rgba(248, 250, 252, 0.95) 60%,
        rgba(243, 244, 246, 0.9) 80%,
        rgba(255, 255, 255, 1) 100%);
    position: relative;
    overflow-x: hidden;
}

/* 主内容区域 */
.content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* 优化横幅设计 */
.banner {
    position: relative;
    width: 100%;
    height: 85vh;
    min-height: 600px;
    background: linear-gradient(
        135deg, 
        rgba(102, 126, 234, 0.08) 0%, 
        rgba(118, 75, 162, 0.05) 100%
    ), url('./img/indexPic/index.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 5%;
    overflow: hidden;
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg, 
        rgba(255, 255, 255, 0.85) 0%, 
        rgba(248, 250, 252, 0.75) 50%,
        rgba(255, 255, 255, 0.85) 100%
    );
    z-index: 1;
}

.banner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(
        to bottom, 
        transparent 0%, 
        rgba(248, 250, 253, 0.8) 50%,
        rgba(248, 250, 253, 1) 100%
    );
    z-index: 2;
}

.banner-content {
    max-width: 55%;
    z-index: 3;
    position: relative;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    padding: 50px 45px;
    border-radius: 25px;
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.12);
    border: 1px solid rgba(102, 126, 234, 0.08);
    transform: translateY(-20px);
}

.banner-content h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 25px;
    line-height: 1.3;
    position: relative;
}

.banner-content h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.banner-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 20px;
    font-weight: 400;
}

.banner-content p:last-child {
    margin-bottom: 0;
}

/* 统一的标题样式 */
.title {
    text-align: center;
    font-size: 2.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 60px;
    position: relative;
    line-height: 1.2;
}

.title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

/* 卡片组件统一样式 */
.card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(102, 126, 234, 0.08);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.card:hover::before {
    transform: scaleX(1);
}

.card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.12);
}

/* 按钮统一样式 */
.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    border-color: rgba(102, 126, 234, 0.2);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
}

/* 响应式设计优化 */
@media (max-width: 1200px) {
    .content {
        max-width: 95%;
        padding: 0 15px;
    }
    
    .banner-content {
        max-width: 65%;
        padding: 40px 35px;
    }
    
    .title {
        font-size: 2.4rem;
    }
}

@media (max-width: 768px) {
    .banner {
        height: 75vh;
        min-height: 500px;
        padding: 0 20px;
        background-attachment: scroll;
    }
    
    .banner-content {
        max-width: 90%;
        padding: 35px 25px;
        transform: translateY(-10px);
    }
    
    .banner-content h2 {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }
    
    .banner-content p {
        font-size: 1rem;
        margin-bottom: 15px;
    }
    
    .title {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .content {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .banner {
        height: 65vh;
        min-height: 450px;
        padding: 0 15px;
    }
    
    .banner-content {
        max-width: 95%;
        padding: 25px 20px;
        border-radius: 15px;
    }
    
    .banner-content h2 {
        font-size: 1.5rem;
        line-height: 1.4;
    }
    
    .banner-content p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .title {
        font-size: 1.6rem;
        margin-bottom: 30px;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}

/* 页面加载动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.banner-content {
    animation: fadeInUp 1s ease 0.3s both;
}

/* 滚动条美化 */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(248, 250, 252, 0.8);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6b5b95 100%);
}

/* 文本选择美化 */
::selection {
    background: rgba(102, 126, 234, 0.2);
    color: #2c3e50;
}

::-moz-selection {
    background: rgba(102, 126, 234, 0.2);
    color: #2c3e50;
}

.header {
    font-family: 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 12px 60px;
    transition: all 0.3s ease;
}

.bg-body-tertiary {
    background: transparent !important;
}

.bg-body-tertiary .nav-link {
    color: #555 !important;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 8px;
    margin: 0 5px;
}

.bg-body-tertiary .nav-link:hover {
    color: #667eea !important;
    background: rgba(102, 126, 234, 0.1);
    transform: translateY(-1px);
}

.bg-body-tertiary .nav-link.active {
    color: #667eea !important;
    background: rgba(102, 126, 234, 0.15);
    font-weight: 600;
}

.nav-item {
    font-size: 16px;
    font-weight: 500;
}

.footer {
    padding: 40px 60px;
    margin: 0;
    font-size: 14px;
    font-weight: 300;
    text-align: center;
    color: #fff;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
}

.logo {
    display: flex;
    align-items: center;
    margin-right: 60px;
}

.logo .new-logo {
    height: 90px;
    width: auto;
    max-width: 280px;
    transition: opacity 0.2s ease;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: auto;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
    -webkit-font-smoothing: subpixel-antialiased;
    object-fit: contain;
    object-position: left center;
}

.logo:hover .new-logo {
    opacity: 0.95;
}

/* 内容区域现代化 */
.sec {
    margin: 80px auto;
    padding: 40px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.sec-title {
    color: #2c3e50;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.sec-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.sec-desc {
    font-weight: 400;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    color: #555;
}

.sec-block {
    display: flex;
    border-radius: 15px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    margin: 30px 0;
    transition: all 0.3s ease;
}

.sec-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.service {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.service-block {
    padding: 30px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.service-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.2);
}

.service-block .title {
    margin: 20px 0;
    font-size: 1.3rem;
    color: #2c3e50;
    font-weight: 600;
}

.service-block .desc {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

/* 其他保持原有功能的样式 */
.part-1 {
    padding-top: 90px;
}

.about-company {
    border-radius: 20px;
    background: linear-gradient(135deg, #f8f9ff 0%, #e3f2fd 100%);
    padding: 40px;
    color: #2c3e50;
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.8;
    margin-top: -60px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.about-company-left {
    background: #fff;
    border-radius: 20px;
    border: 3px solid rgba(102, 126, 234, 0.2);
    padding: 60px;
    color: #667eea;
    font-size: 2.5rem;
    margin-right: 60px;
    font-weight: 700;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.sec-2 {
    background: linear-gradient(135deg, #f8f9ff 0%, #e3f2fd 100%);
}

.sec-left-radius {
    border-bottom-left-radius: 20px;
    border-top-left-radius: 20px;
}

.sec-right-radius {
    border-bottom-right-radius: 20px;
    border-top-right-radius: 20px;
}

.sec-left {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sec .btn {
    margin-top: 20px;
    border-radius: 50px;
    padding: 12px 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.sec-gray {
    background: linear-gradient(135deg, #f8f9ff 0%, #e3f2fd 100%);
    border-radius: 15px;
    padding: 40px;
}

.btn-submit, .btn-submit:hover {
    border-radius: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    padding: 12px 30px;
    color: #fff;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.sec-form {
    position: relative;
    background: #fff;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.sec-form:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px 15px 0 0;
}

::placeholder {
    color: #999;
    font-style: italic;
}

.sec-form:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 0 0 15px 15px;
}

.clients {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.clients-item {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.clients-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.clients-item-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.clients-item img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.mb {
    margin-bottom: 30px;
}

.contact {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #fff;
    padding: 60px;
    border-radius: 15px;
}

.contact .title {
    color: #fff;
    margin-bottom: 40px;
}

.menu a {
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.menu a.mail {
    color: #667eea;
}

.menu .nav-link {
    color: #fff !important;
    padding: 8px 16px;
}

.social a {
    margin-right: 15px;
    color: #fff;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social a:hover {
    color: #667eea;
    transform: translateY(-2px);
}

.input-gp {
    display: flex;
    gap: 15px;
    margin: 20px 0;
}

.input-gp input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 8px;
    background: rgba(255,255,255,0.1);
    color: #fff;
    font-size: 1rem;
}

.input-gp .input-gp-btn {
    padding: 12px 25px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.input-gp .input-gp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}