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

/* 可访问性样式 */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Skip to main content链接 */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #000;
    color: #fff;
    padding: 8px;
    text-decoration: none;
    z-index: 1000;
    border-radius: 4px;
}

.skip-link:focus {
    top: 6px;
}

/* 聚焦状态改进 */
*:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* 减少动画对于prefer-reduced-motion用户 */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* 基础样式 */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

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

.navbar {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h2 {
    color: #2563eb;
    font-size: 1.8rem;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

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

.nav-link:hover {
    color: #2563eb;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #2563eb;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* 导航链接激活状态 */
.nav-link.active {
    color: #2563eb;
}

.nav-link.active::after {
    width: 100%;
}

/* 汉堡菜单 */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.hamburger:hover {
    opacity: 0.8;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* 英雄区域 */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* 英雄徽章 */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    animation: fadeInUp 0.8s ease;
}

.hero-badge i {
    color: #ffd700;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-title .highlight {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease 0.4s both;
}

/* 核心优势 */
.hero-features {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.feature-item i {
    color: #ffd700;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease 0.8s both;
}

.btn {
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.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.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: #fff;
    color: #2563eb;
}

.btn-primary:hover {
    background: transparent;
    color: #fff;
    border-color: #fff;
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border-color: #fff;
}

.btn-secondary:hover {
    background: #fff;
    color: #2563eb;
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

/* 统计数据 */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeInUp 0.8s ease 1s both;
}

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

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffd700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 英雄视觉部分 */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image {
    position: relative;
    width: 100%;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 代码动画 */
.code-animation {
    background: rgba(0, 0, 0, 0.8);
    border-radius: 10px;
    padding: 2rem;
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    line-height: 1.8;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.code-line {
    opacity: 0;
    animation: typewriter 0.8s ease forwards;
}

.code-line.delay-1 {
    animation-delay: 0.5s;
}

.code-line.delay-2 {
    animation-delay: 1s;
}

.code-line.delay-3 {
    animation-delay: 1.5s;
}

.code-tag {
    color: #ff6b6b;
}

.code-property {
    color: #4ecdc4;
}

.code-value {
    color: #ffe66d;
}

/* 浮动图标 */
.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-icon {
    position: absolute;
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.6);
    animation: float 3s ease-in-out infinite;
    animation-delay: var(--delay);
}

.floating-icon:nth-child(1) {
    top: 10%;
    left: 10%;
}

.floating-icon:nth-child(2) {
    top: 20%;
    right: 15%;
}

.floating-icon:nth-child(3) {
    bottom: 30%;
    left: 20%;
}

.floating-icon:nth-child(4) {
    bottom: 10%;
    right: 10%;
}

/* 技术栈 */
.tech-stack {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 4rem;
}

.tech-label {
    text-align: center;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tech-icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.tech-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.tech-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px) scale(1.1);
    border-color: #ffd700;
    color: #ffd700;
}

/* 合作伙伴 */
.partners {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.partners::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.03) 50%, transparent 70%);
    animation: shimmer 3s ease-in-out infinite;
}

.partners-label {
    text-align: center;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 1;
}

.partners-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.partner-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    opacity: 0.75;
    transition: all 0.4s ease;
    cursor: pointer;
    padding: 1.5rem 1rem;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.partner-logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.partner-logo:hover::before {
    left: 100%;
}

.partner-logo:hover {
    opacity: 1;
    transform: translateY(-8px) scale(1.05);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.partner-logo i {
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
}

.partner-logo:hover i {
    color: #ffd700;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.3));
}

.partner-logo span {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.partner-logo:hover span {
    color: rgba(255, 255, 255, 1);
}

/* 特定合作伙伴的品牌色 */
.partner-logo:nth-child(1):hover i { /* Microsoft */
    color: #00bcf2;
}

.partner-logo:nth-child(2):hover i { /* Google */
    color: #4285f4;
}

.partner-logo:nth-child(3):hover i { /* Amazon */
    color: #ff9900;
}

.partner-logo:nth-child(4):hover i { /* Alibaba */
    color: #ff6a00;
}

.partner-logo:nth-child(5):hover i { /* Tencent */
    color: #00d4aa;
}

/* 闪烁动画 */
@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* 滚动指示器 */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: bounce 2s infinite;
    cursor: pointer;
}

.scroll-text {
    font-size: 0.9rem;
    opacity: 0.8;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

/* 动画关键帧 */
@keyframes typewriter {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* 通用区域样式 */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: #2563eb;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

/* 服务区域 */
.services {
    padding: 80px 0;
    background: #f8fafc;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.service-card p {
    color: #666;
    line-height: 1.6;
}

/* 我们的优势 */
.advantages {
    padding: 80px 0;
    background: #f8fafc;
}

.advantages .section-title {
    margin-bottom: 4rem;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.advantage-card {
    background: white;
    padding: 3rem 2rem 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.advantage-card:hover::before {
    transform: scaleX(1);
}

.advantage-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(102, 126, 234, 0.2);
}

.advantage-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 2rem;
    border-radius: 18px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    transition: all 0.4s ease;
    position: relative;
}

.advantage-card:hover .advantage-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.advantage-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
    color: #1e293b;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.advantage-card p {
    color: #64748b;
    line-height: 1.7;
    font-size: 0.95rem;
    font-weight: 400;
    margin: 0;
    letter-spacing: 0.01em;
}

/* 为每个卡片添加独特的渐变色 */
.advantage-card:nth-child(1) .advantage-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.advantage-card:nth-child(2) .advantage-icon {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.advantage-card:nth-child(3) .advantage-icon {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.advantage-card:nth-child(4) .advantage-icon {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.advantage-card:nth-child(5) .advantage-icon {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.advantage-card:nth-child(6) .advantage-icon {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.advantage-card:nth-child(1)::before {
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.advantage-card:nth-child(2)::before {
    background: linear-gradient(90deg, #f093fb, #f5576c);
}

.advantage-card:nth-child(3)::before {
    background: linear-gradient(90deg, #4facfe, #00f2fe);
}

.advantage-card:nth-child(4)::before {
    background: linear-gradient(90deg, #43e97b, #38f9d7);
}

.advantage-card:nth-child(5)::before {
    background: linear-gradient(90deg, #fa709a, #fee140);
}

.advantage-card:nth-child(6)::before {
    background: linear-gradient(90deg, #a8edea, #fed6e3);
}

/* 关于我们区域 */
.about {
    padding: 80px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 2rem;
    align-items: start;
}

.about-text .section-title {
    text-align: left;
}

.about-text .section-title::after {
    left: 0;
    transform: none;
}

.about-text p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.company-values {
    margin: 2rem 0 2.5rem 0;
    padding: 1.5rem 0;
}

.company-values h3 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1.5rem;
}

.value-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem;
    border-radius: 10px;
    background: rgba(102, 126, 234, 0.05);
    transition: all 0.3s ease;
}

.value-item:hover {
    background: rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

.value-item i {
    font-size: 1.5rem;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.value-item span {
    font-size: 0.9rem;
    color: #333;
    font-weight: 500;
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2.5rem;
    color: #2563eb;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat p {
    color: #666;
    font-weight: 500;
}

.about-icon {
    font-size: 8rem;
    color: #e2e8f0;
    text-align: center;
    display: block;
    margin-top: 2rem;
}

/* 项目区域 */
.projects {
    padding: 80px 0;
    background: #f8fafc;
}

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

.project-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-image {
    height: 200px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-image i {
    font-size: 4rem;
    color: white;
}

.project-content {
    padding: 2rem;
}

.project-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.project-content p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.project-tech {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tech-tag {
    background: #e2e8f0;
    color: #475569;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* 联系我们区域 */
.contact {
    padding: 80px 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: start;
}

.contact-left {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.contact-item h4 {
    color: #333;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: #666;
}

.map-container {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.map-title {
    color: #333;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.baidu-map {
    width: 100%;
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid #e2e8f0;
    margin-bottom: 1rem;
}

.map-tips {
    text-align: center;
}

.map-tips p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.map-tips i {
    color: #667eea;
}

.contact-form {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-title {
    color: #333;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
}

.contact-form .btn {
    width: 100%;
    background: #2563eb;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.contact-form .btn:hover {
    background: #1d4ed8;
}

/* 页脚 */
.footer {
    background: #1e293b;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #2563eb;
}

.footer-section p {
    color: #94a3b8;
    line-height: 1.6;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #2563eb;
}

/* 社交媒体样式增强 */
.social-description {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    color: #cbd5e1;
}

.social-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-link::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.5s ease;
}

.social-link:hover::before {
    left: 100%;
}

.social-link:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.social-link i {
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
}

.social-name {
    font-size: 0.7rem;
    font-weight: 500;
    opacity: 0.9;
}

/* 特定社交媒体平台颜色 */
.social-link[data-platform="微信"]:hover {
    background: linear-gradient(135deg, #07c160, #05a050);
}

.social-link[data-platform="微博"]:hover {
    background: linear-gradient(135deg, #e6162d, #c4142a);
}

.social-link[data-platform="GitHub"]:hover {
    background: linear-gradient(135deg, #333, #24292e);
}

.social-link[data-platform="LinkedIn"]:hover {
    background: linear-gradient(135deg, #0077b5, #005885);
}

.social-link[data-platform="知乎"]:hover {
    background: linear-gradient(135deg, #0084ff, #0066cc);
}

.social-link[data-platform="抖音"]:hover {
    background: linear-gradient(135deg, #fe2c55, #e91e63);
}

/* 二维码样式 */
.qr-codes {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

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

.qr-container {
    width: 100px;
    height: 100px;
    background: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    border: 2px solid #475569;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.qr-container:hover {
    border-color: #2563eb;
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(37, 99, 235, 0.2);
}

.qr-canvas {
    max-width: 90px;
    max-height: 90px;
    border-radius: 4px;
}

.qr-image {
    width: 90px;
    height: 90px;
    border-radius: 4px;
    object-fit: cover;
    display: block;
}

.qr-placeholder {
    width: 80px;
    height: 80px;
    background: #334155;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    border: 2px solid #475569;
    position: relative;
    overflow: hidden;
}

.qr-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(37, 99, 235, 0.1) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.qr-placeholder:hover::before {
    transform: translateX(100%);
}

.qr-placeholder:hover {
    border-color: #2563eb;
    background: #3f4c5a;
    transform: scale(1.05);
}

.qr-placeholder i {
    font-size: 2rem;
    color: #94a3b8;
    transition: color 0.3s ease;
}

.qr-placeholder:hover i {
    color: #2563eb;
}

.qr-code-item p {
    font-size: 0.8rem;
    color: #94a3b8;
    margin: 0;
    font-weight: 500;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #334155;
    color: #94a3b8;
}

/* 页脚底部内容布局 */
.footer-bottom-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

/* 备案链接样式 */
.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    align-items: center;
}

.icp-link,
.beian-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #64748b;
    text-decoration: none;
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    background: rgba(51, 65, 85, 0.3);
    border: 1px solid rgba(100, 116, 139, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.icp-link:hover,
.beian-link:hover {
    color: #2563eb;
    background: rgba(37, 99, 235, 0.1);
    border-color: rgba(37, 99, 235, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

.icp-link i,
.beian-link i {
    font-size: 0.9rem;
    opacity: 0.8;
}

.icp-link:hover i,
.beian-link:hover i {
    opacity: 1;
    color: #2563eb;
}

/* 备案号特殊样式 */
#icp-number {
    font-family: 'Courier New', monospace;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* 备案链接的特殊效果 */
.icp-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.1), transparent);
    transition: left 0.5s ease;
}

.icp-link {
    position: relative;
    overflow: hidden;
}

.icp-link:hover::before {
    left: 100%;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .footer-bottom-content {
        gap: 0.8rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .icp-link,
    .beian-link {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-bottom {
        padding-top: 1.5rem;
    }
    
    #copyright {
        font-size: 0.8rem;
        text-align: center;
    }
    
    .footer-links {
        width: 100%;
    }
    
    .icp-link,
    .beian-link {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card,
.project-card {
    animation: fadeInUp 0.6s ease forwards;
}

/* 版权信息样式增强 */
#copyright {
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.5px;
}

#current-year {
    font-weight: 600;
    color: #2563eb;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    background: rgba(37, 99, 235, 0.1);
    transition: all 0.3s ease;
    display: inline-block;
}

#current-year:hover {
    background: rgba(37, 99, 235, 0.2);
    transform: scale(1.05);
}

/* 年份更新动画 */
@keyframes yearUpdate {
    0% {
        transform: scale(1);
        color: #2563eb;
    }
    50% {
        transform: scale(1.1);
        color: #1d4ed8;
        background: rgba(37, 99, 235, 0.3);
    }
    100% {
        transform: scale(1);
        color: #2563eb;
    }
}

.year-updating {
    animation: yearUpdate 0.6s ease;
}

/* 脉冲动画效果 */
@keyframes pulse {
    0% {
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    }
    100% {
        box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    }
}

/* 响应式设计增强 */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 78px;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.1);
        padding: 2rem 0;
        z-index: 1000;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu .nav-item {
        margin: 1rem 0;
    }

    .nav-menu .nav-link {
        display: block;
        padding: 1rem 2rem;
        font-size: 1.1rem;
        color: #333;
        transition: all 0.3s ease;
        border-radius: 8px;
        margin: 0 1rem;
    }

    .nav-menu .nav-link:hover {
        background-color: rgba(102, 126, 234, 0.1);
        color: #667eea;
        transform: translateY(-2px);
    }

    .nav-menu .nav-link.active {
        background-color: #667eea;
        color: white;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-features {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .feature-item {
        justify-content: center;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .hero-image {
        height: 300px;
    }

    .code-animation {
        padding: 1.5rem;
        font-size: 0.9rem;
    }

    .floating-icon {
        font-size: 1.5rem;
    }

    .tech-icons {
        gap: 1rem;
    }

    .tech-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .partners-logos {
        gap: 2rem;
        padding: 0 1rem;
    }

    .partner-logo {
        flex: 0 0 calc(50% - 1rem);
        max-width: 140px;
        padding: 1.2rem 0.8rem;
    }

    .partner-logo i {
        font-size: 1.8rem;
    }

    .partner-logo span {
        font-size: 0.75rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .about-icon {
        font-size: 4rem;
        margin-top: 1rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-left {
        gap: 1.5rem;
    }
    
    .baidu-map {
        height: 250px;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .btn {
        width: 200px;
        justify-content: center;
    }

    .social-links {
        gap: 1.5rem;
    }

    .social-link {
        width: 45px;
        height: 45px;
    }

    .social-link i {
        font-size: 1.2rem;
    }

    .social-name {
        font-size: 0.7rem;
    }

    .qr-codes {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .qr-container {
        width: 100px;
        height: 100px;
    }

    .qr-canvas {
        max-width: 90px;
        max-height: 90px;
    }

    .qr-placeholder {
        width: 80px;
        height: 80px;
    }

    .qr-placeholder i {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .tech-stack {
        padding: 1.5rem 0;
    }

    .tech-icons {
        gap: 0.8rem;
    }

    .tech-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .partners {
        padding: 2rem 0;
    }

    .partners-logos {
        gap: 1.5rem;
        justify-content: center;
        flex-wrap: wrap;
    }

    .partner-logo {
        flex: 0 0 calc(33.333% - 1rem);
        max-width: 100px;
        padding: 1rem 0.5rem;
        min-width: 80px;
    }

    .partner-logo i {
        font-size: 1.2rem;
    }

    .partner-logo span {
        font-size: 0.65rem;
        letter-spacing: 0.5px;
    }

    .hero-features {
        gap: 0.8rem;
    }

    .feature-item {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }

    .hero-badge {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }

    .code-animation {
        padding: 1rem;
        font-size: 0.8rem;
    }

    .floating-icon {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .value-item {
        padding: 0.8rem;
    }
    
    .value-item i {
        font-size: 1.3rem;
    }
    
    .value-item span {
        font-size: 0.8rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .advantage-card {
        padding: 2.5rem 1.5rem 2rem;
    }
    
    .advantage-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .advantage-card h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .advantage-card p {
        font-size: 0.9rem;
    }

    .social-links {
        gap: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .scroll-indicator {
        bottom: 1rem;
    }

    .scroll-text {
        font-size: 0.8rem;
    }

    .scroll-arrow {
        width: 25px;
        height: 25px;
        font-size: 0.7rem;
    }

    .nav-menu {
        top: 78px;
        padding: 1.5rem 0;
    }

    .nav-menu .nav-link {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .hamburger {
        padding: 3px;
    }

    .bar {
        width: 22px;
        height: 2px;
        margin: 2px 0;
    }
}

/* 滚动行为 */
html {
    scroll-behavior: smooth;
}

/* 移动端菜单遮罩层 */
.nav-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-menu-overlay.active {
    display: block;
    opacity: 1;
} 
