/* 重置和基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    overflow-x: hidden;
}

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

/* 头部样式 */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.logo h2 {
    background: linear-gradient(135deg, #1a6ce9 0%, #003d99 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.4rem;
    font-weight: 700;
}

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav li {
    margin-left: 30px;
}

.main-nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.main-nav a:hover {
    color: #1a6ce9;
}

.main-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background: linear-gradient(90deg, #1a6ce9, #003d99);
    transition: all 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
    left: 0;
}

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

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* 主要内容区 */
main {
    margin-top: 80px;
}

/* 首页横幅 */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, #0b3569 0%, #1a6ce9 100%);
}

.animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.animated-bg::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    top: -150px;
    right: -150px;
    animation: float 15s infinite ease-in-out;
}

.animated-bg::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    bottom: -100px;
    left: -100px;
    animation: float 20s infinite ease-in-out alternate-reverse;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, 30px) scale(1.1); }
    100% { transform: translate(0, 0) scale(1); }
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-content {
    color: white;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    background: linear-gradient(90deg, #ffffff, #e0e7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 500px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.cta-button {
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: 500;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.cta-button.primary {
    background: linear-gradient(90deg, #ffffff, #e0e7ff);
    color: #1a6ce9;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.cta-button.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.cta-button.secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
}

.cta-button.secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 500px;
}

.tech-animation {
    position: relative;
    width: 400px;
    height: 400px;
}

.tech-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.2));
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.tech-circle:nth-child(1) {
    width: 150px;
    height: 150px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 3s infinite ease-in-out;
}

.tech-circle:nth-child(2) {
    width: 250px;
    height: 250px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 5s infinite ease-in-out alternate;
}

.tech-circle:nth-child(3) {
    width: 350px;
    height: 350px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 7s infinite ease-in-out;
}

@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.7; }
    50% { transform: translate(-50%, -50%) scale(1.05); opacity: 0.9; }
    100% { transform: translate(-50%, -50%) scale(1); opacity: 0.7; }
}

/* 通用区块样式 */
.section {
    padding: 100px 0;
}

.section h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 60px;
    color: #1a6ce9;
    font-weight: 700;
    position: relative;
}

.section h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #1a6ce9, #003d99);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.section-bg {
    background-color: #f8f9ff;
}

/* 核心优势 */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.advantage-item {
    background: linear-gradient(135deg, #ffffff, #f8f9ff);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.advantage-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #1a6ce9, #003d99);
}

.advantage-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.advantage-icon {
    font-size: 2.5rem;
    color: #1a6ce9;
    margin-bottom: 20px;
}

.advantage-item h3 {
    margin-bottom: 15px;
    color: #333;
    font-size: 1.5rem;
}

.advantage-item p {
    color: #666;
    line-height: 1.6;
}

/* 关于我们 */
.about-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.about-stats {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: #1a6ce9;
    font-weight: 700;
}

.stat-item h3 span {
    font-size: 1.5rem;
    vertical-align: top;
}

.stat-item p {
    color: #666;
    margin-top: 5px;
}

.about-image {
    flex: 1;
}

.tech-showcase {
    position: relative;
    width: 100%;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #0b3569 0%, #1a6ce9 100%);
    border-radius: 15px;
    overflow: hidden;
}

.showcase-item {
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
    transition: all 0.5s ease;
}

.showcase-item.active {
    transform: scale(1.2);
    background: rgba(255, 255, 255, 0.2);
}

.showcase-item i {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 15px;
}

.showcase-item h4 {
    color: white;
    font-size: 1.2rem;
}

.showcase-item:nth-child(1) {
    top: 20%;
    left: 20%;
}

.showcase-item:nth-child(2) {
    top: 20%;
    right: 20%;
}

.showcase-item:nth-child(3) {
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
}

/* 产品服务 */
.services-tabs {
    width: 100%;
}

.tab-nav {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
    border-bottom: 1px solid #e0e7ff;
}

.tab-btn {
    background: none;
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.tab-btn.active {
    color: #1a6ce9;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #1a6ce9, #003d99);
    bottom: -1px;
    left: 0;
}

.tab-content {
    width: 100%;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

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

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

.service-text h3 {
    font-size: 2rem;
    color: #1a6ce9;
    margin-bottom: 20px;
}

.service-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.service-text ul {
    margin-bottom: 30px;
    padding-left: 20px;
}

.service-text li {
    margin-bottom: 10px;
    font-size: 1.1rem;
    color: #555;
}

.service-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
}

.code-animation {
    width: 350px;
    height: 250px;
    background: linear-gradient(135deg, #1e1e1e, #2d2d2d);
    border-radius: 10px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    overflow: hidden;
}

.code-line {
    height: 8px;
    background: linear-gradient(90deg, #3366cc, #66ccff, #99ccff);
    border-radius: 4px;
    opacity: 0.7;
}

.code-line:nth-child(1) { width: 90%; animation: codeLoad 3s infinite ease-in-out; }
.code-line:nth-child(2) { width: 70%; animation: codeLoad 3s infinite ease-in-out 0.3s; }
.code-line:nth-child(3) { width: 85%; animation: codeLoad 3s infinite ease-in-out 0.6s; }
.code-line:nth-child(4) { width: 60%; animation: codeLoad 3s infinite ease-in-out 0.9s; }
.code-line:nth-child(5) { width: 80%; animation: codeLoad 3s infinite ease-in-out 1.2s; }

@keyframes codeLoad {
    0% { width: 0; }
    50% { width: 100%; }
    100% { width: 90%; }
}

.integration-animation {
    position: relative;
    width: 350px;
    height: 350px;
}

.integration-circle {
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a6ce9, #003d99);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.5rem;
    animation: integration 5s infinite ease-in-out;
}

.integration-circle:nth-child(1) { top: 0; left: 0; }
.integration-circle:nth-child(2) { top: 0; right: 0; animation-delay: 1.5s; }
.integration-circle:nth-child(3) { bottom: 0; left: 50%; transform: translateX(-50%); animation-delay: 3s; }

@keyframes integration {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.consult-animation {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 350px;
}

.consult-item {
    height: 40px;
    background: linear-gradient(90deg, #1a6ce9, #003d99);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.consult-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: rgba(255, 255, 255, 0.3);
    animation: consult 3s infinite ease-in-out;
}

.consult-item:nth-child(1)::before { animation-delay: 0s; }
.consult-item:nth-child(2)::before { animation-delay: 1s; }
.consult-item:nth-child(3)::before { animation-delay: 2s; }

@keyframes consult {
    0% { width: 0; left: 0; }
    50% { width: 100%; left: 0; }
    100% { width: 0; left: 100%; }
}

/* 解决方案 */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.solution-item {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.solution-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.solution-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.solution-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a6ce9, #003d99);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.5rem;
}

.solution-item h3 {
    font-size: 1.5rem;
    color: #333;
}

.solution-item p {
    margin-bottom: 20px;
    color: #555;
    line-height: 1.6;
    flex-grow: 1;
}

.solution-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #1a6ce9;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.solution-link:hover {
    color: #003d99;
}

/* 成功案例 */
.cases-filter {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
}

.filter-btn {
    background: none;
    border: 2px solid #e0e7ff;
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 1rem;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active {
    background: linear-gradient(90deg, #1a6ce9, #003d99);
    color: white;
    border-color: transparent;
}

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

.case-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.case-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.case-image {
    height: 200px;
    overflow: hidden;
}

.case-placeholder {
    height: 100%;
    background: linear-gradient(135deg, #f8f9ff, #e0e7ff);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    color: #1a6ce9;
}

.case-content {
    padding: 30px;
}

.case-content h3 {
    margin-bottom: 15px;
    color: #333;
    font-size: 1.3rem;
}

.case-content p {
    margin-bottom: 20px;
    color: #555;
    line-height: 1.6;
}

.case-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1a6ce9;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.case-link:hover {
    color: #003d99;
}

/* 联系我们 */
.contact-info-simple {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a6ce9, #003d99);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-item h4 {
    margin-bottom: 5px;
    color: #333;
    font-size: 1.2rem;
}

.contact-item p {
    color: #555;
    font-size: 1rem;
}

/* 页脚 */
.footer {
    background: linear-gradient(135deg, #0b3569 0%, #1a6ce9 100%);
    color: white;
    padding: 60px 0 20px;
}

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

.footer-info h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    background: linear-gradient(90deg, #ffffff, #e0e7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-info p {
    margin-bottom: 20px;
    opacity: 0.8;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.footer-links h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-links ul li a:hover {
    opacity: 1;
}

.footer-contact h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.footer-contact ul {
    list-style: none;
}

.footer-contact ul li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact ul li i {
    width: 20px;
    text-align: center;
}

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

.icp-info {
    margin-top: 10px;
}

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

.icp-info a:hover {
    color: rgba(255, 255, 255, 1);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .contact-info-simple {
        grid-template-columns: 1fr;
    }
    
    .service-detail {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 20px;
    }
    
    .main-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
        position: absolute;
        top: 20px;
        right: 20px;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    main {
        margin-top: 100px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section h2 {
        font-size: 2.2rem;
    }
    
    .hero-image {
        height: 300px;
    }
    
    .tech-animation {
        width: 300px;
        height: 300px;
    }
    
    .tech-circle:nth-child(1) {
        width: 100px;
        height: 100px;
    }
    
    .tech-circle:nth-child(2) {
        width: 180px;
        height: 180px;
    }
    
    .tech-circle:nth-child(3) {
        width: 260px;
        height: 260px;
    }
    
    .tab-nav {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .tab-btn {
        padding: 10px 20px;
        font-size: 1rem;
    }
    
    .cases-grid {
        grid-template-columns: 1fr;
    }
    
    .solutions-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .about-stats {
        justify-content: center;
    }
}