
/* 添加Font Awesome图标库 */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css');
/* 第一屏增强样式 */
.hero {
    position: relative;
    overflow: hidden;
}

/* 动态粒子背景 */
.particle-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37,99,235,0.3) 0%, transparent 70%);
    animation: float 6s infinite;
}

.particle-1 {
    width: 300px;
    height: 300px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.particle-2 {
    width: 200px;
    height: 200px;
    top: 50%;
    right: 15%;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.05); }
}

/* 标题增强 */
.title-wrapper {
    position: relative;
    margin-bottom: 2rem;
}

.title-wrapper h1 {
    font-size: 4rem;
    line-height: 1.1;
    position: relative;
    display: inline-block;
}

.title-wrapper h1::after {
    content: attr(data-text);
    position: absolute;
    left: 2px;
    top: 2px;
    color: rgba(37,99,235,0.3);
    z-index: -1;
}

.gradient-bar {
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), transparent);
    margin-top: 1rem;
}

/* 动态副标题 */
.dynamic-subtitles {
    margin-bottom: 3rem;
}

.typing-text {
    font-size: 1.5rem;
    color: #4B5563;
    position: relative;
    display: inline-block;
}

.typing-text::after {
    content: "|";
    animation: typing 1s infinite;
    color: var(--accent-color);
}

@keyframes typing {
    50% { opacity: 0; }
}

.tech-tags {
    margin-top: 1.5rem;
}

.tech-tags span {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    margin: 0.5rem;
    background: rgba(37,99,235,0.1);
    border-radius: 30px;
    transition: all 0.3s ease;
}

.tech-tags span:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-2px);
}

/* 增强CTA按钮 */
.cta-button {
    position: relative;
    overflow: hidden;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-effect {
    position: absolute;
    width: 150%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 10%, transparent 60%);
    transform: translate(-50%,-50%) scale(0);
    transition: transform 0.6s ease;
}

.cta-button:hover .hover-effect {
    transform: translate(-50%,-50%) scale(1);
}

/* 悬浮卡片组 */
.card-group {
    position: absolute;
    right: 10%;
    bottom: 20%;
    display: flex;
    gap: 2rem;
}

.floating-card {
    width: 220px;
    height: 280px;
    background: rgba(255,255,255,0.9);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    animation: float-card 4s ease-in-out infinite;
    backdrop-filter: blur(10px);
}

.code-card {
    transform: rotate(3deg);
    animation-delay: 0.5s;
}

.data-card {
    transform: rotate(-2deg);
}

@keyframes float-card {
    0%, 100% { transform: translateY(0) rotate(var(--rotate)); }
    50% { transform: translateY(-20px) rotate(calc(var(--rotate) + 2deg)); }
}

/* 滚动提示 */
.scroll-hint {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
}

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid var(--accent-color);
    border-radius: 15px;
    position: relative;
}

.mouse::after {
    content: '';
    width: 4px;
    height: 8px;
    background: var(--accent-color);
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { top: 5px; opacity: 1; }
    100% { top: 20px; opacity: 0; }
}
:root {
    --primary-color: #2A2E35;
    --accent-color: #00F3FF;
    --text-primary: #FFFFFF;
    --gradient: linear-gradient(135deg, #2A2E35 0%, #1A1C20 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, sans-serif;
}

body {
    background: var(--primary-color);
    color: var(--text-primary);
    line-height: 1.6;
}

/* 导航栏 */
.navbar {
    padding: 1.5rem 10%;
    background: rgba(42, 46, 53, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    background: linear-gradient(90deg, var(--accent-color), #00C8FF);
    -webkit-background-clip: text;
    color: transparent;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* 主页内容 */
.hero {
    height: 100vh;
    background: var(--gradient);
    display: flex;
    align-items: center;
    padding: 0 10%;
    position: relative;
    overflow: hidden;
    background-image: image("../images/b.png");
}

.hero-content {
    max-width: 600px;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    color: #CCCCCC;
    margin-bottom: 2rem;
}

.cta-button {
    padding: 1rem 2rem;
    background: var(--accent-color);
    color: var(--primary-color);
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
}

/* 动态背景效果 */
.hero::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 243, 255, 0.1) 0%, rgba(42, 46, 53, 0) 70%);
    right: 10%;
    animation: pulse 4s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.9);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(0.9);
    }
}

/* 服务展示区块 */
.services {
    padding: 5rem 10%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
}
/* 响应式调整 */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
    }

    .footer-section {
        text-align: center;
    }

    .tech-tags {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero {
        background-size: cover;
        min-height: 80vh;
    }
}

/* 新增CSS样式 */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 0 10%;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, var(--accent-color), #00C8FF);
    -webkit-background-clip: text;
    color: transparent;
}

.section-header p {
    color: #888;
    font-size: 1.1rem;
}

/* 案例展示 */
.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 0 10%;
}

.case-card {
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.case-preview {
    height: 300px;
    background-size: cover;
    position: relative;
}

.case-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.case-card:hover .case-overlay {
    opacity: 1;
}

/* 技术优势 */
.advantage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 0 10%;
}

.advantage-card {
    text-align: center;
    padding: 2rem;
    background: rgba(255,255,255,0.03);
    border-radius: 15px;
}

.icon-box {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: rgba(0,243,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

/* 动态数据 */
.dynamic-stats {
    display: flex;
    justify-content: center;
    gap: 5rem;
    padding: 5rem 10%;
    background: rgba(0,0,0,0.2);
    margin: 4rem 0;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 3.5rem;
    font-weight: bold;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .case-grid, .advantage-grid {
        grid-template-columns: 1fr;
    }

    .dynamic-stats {
        flex-direction: column;
        gap: 3rem;
    }
}
/* 合作伙伴样式 */
.partners-section {
    padding: 5rem 10%;
    background: rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 3rem;
    padding: 2rem 0;
    position: relative;
}

.partner-logo {
    height: 80px;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.6;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: grayscale(1) brightness(2);
    cursor: pointer;
}

.partner-logo:hover {
    opacity: 1;
    transform: scale(1.1);
    filter: grayscale(0) drop-shadow(0 0 10px rgba(0,243,255,0.3));
}

/* 动态流光背景 */
.partners-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
            45deg,
            transparent 25%,
            rgba(0,243,255,0.05) 50%,
            transparent 75%
    );
    animation: flow 20s linear infinite;
    z-index: 0;
}

@keyframes flow {
    0% { transform: translate(0,0) rotate(0deg); }
    100% { transform: translate(50%,50%) rotate(360deg); }
}

/* 响应式调整 */
@media (max-width: 1024px) {
    .partners-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 2rem;
    }

    .partner-logo {
        height: 60px;
    }
}

@media (max-width: 480px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* 响应式调整 */
@media (max-width: 1024px) {
    .partners-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 2rem;
    }

    .partner-logo {
        height: 60px;
    }
}

@media (max-width: 480px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}