/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #c00;
    --primary-hover: #a00;
    --secondary-color: #333;
    --text-color: #333;
    --text-light: #666;
    --bg-light: #f5f5f5;
    --bg-white: #fff;
    --border-color: #e0e0e0;
    --shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.12);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--bg-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 大屏幕响应式 - 1600px及以上 */
@media (min-width: 1600px) {
    .container {
        max-width: 1400px;
        padding: 0 30px;
    }
    
    /* 增大标题字体 */
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }
    
    /* 增大section标题 */
    .section-header h2 {
        font-size: 2.8rem;
    }
    
    .section-header p {
        font-size: 1.2rem;
    }
    
    /* 调整卡片网格间距 */
    .service-cards,
    .solution-grid,
    .case-grid {
        gap: 40px;
    }
    
    /* 增大卡片内边距 */
    .service-card,
    .solution-card,
    .case-card {
        padding: 40px 30px;
    }
    
    /* 调整按钮大小 */
    .btn-large {
        padding: 18px 40px;
        font-size: 18px;
    }
}

/* 超大屏幕响应式 - 1920px及以上 */
@media (min-width: 1920px) {
    .container {
        max-width: 1600px;
        padding: 0 40px;
    }
    
    /* 进一步增大标题字体 */
    .hero-title {
        font-size: 4rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    /* 增大section标题 */
    .section-header h2 {
        font-size: 3.2rem;
    }
    
    /* 调整卡片网格 - 在超大屏幕上显示更多列 */
    .service-cards {
        grid-template-columns: repeat(4, 1fr);
        gap: 50px;
    }
    
    /* 增大卡片内边距 */
    .service-card,
    .solution-card,
    .case-card {
        padding: 50px 40px;
    }
}

/* 顶部导航栏 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-white);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.logo-link:hover {
    opacity: 1;
}

.logo-link:hover .logo-text {
    color: #ff6700;
    letter-spacing: 1px;
}

.logo-img {
    height: 36px;
    width: auto;
    display: block;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(10%) sepia(100%) saturate(7426%) hue-rotate(0deg) brightness(95%) contrast(115%);
}

.logo-text {
    font-size: 26px;
    color: #000;
    font-weight: 700;
    white-space: nowrap;
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    gap: 15px;
}

.btn-primary,
.btn-secondary,
.btn-outline {
    padding: 8px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--bg-white);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: transparent;
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--bg-white);
}

.btn-large {
    padding: 12px 32px;
    font-size: 16px;
}

.mobile-menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-color);
}

/* 主横幅 */
.hero {
    position: relative;
    padding: 180px 0 120px;
    color: var(--bg-white);
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* 区块标题 */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-color);
}

.section-header p {
    font-size: 16px;
    color: var(--text-light);
}

/* 标签页 */
.tabs {
    margin-bottom: 40px;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 10px 24px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-color);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn:hover,
.tab-btn.active {
    background: var(--primary-color);
    color: var(--bg-white);
    border-color: var(--primary-color);
}

/* 核心服务 */
.services {
    padding: 100px 0;margin-top: 5px;;
}

/* 项目开发 - 白色背景 */
.services#project {
    background: var(--bg-white);
}

/* 小程序开发 - 灰色背景 */
.services#miniapp {
    background: var(--bg-light);
}

/* 小程序开发卡片布局 - 一行4个 */
.services#miniapp .service-cards {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* 小程序开发tab内容默认隐藏 */
.services#miniapp .service-cards.tab-content {
    display: none;
}

/* 小程序开发激活的tab内容显示 */
.services#miniapp .service-cards.tab-content.active {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* AI系统开发 - 白色背景 */
.services#ai {
    background: var(--bg-white);
}

/* 网络安全维护 - 灰色背景 */
.services#security {
    background: var(--bg-light);
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: grid;
}

.service-card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

/* 彩色图标渐变 */
.card-icon.color-green {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.card-icon.color-purple {
    background: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
}

.card-icon.color-orange {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
}

.card-icon.color-blue {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.card-icon.color-red {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.card-icon.color-yellow {
    background: linear-gradient(135deg, #eab308 0%, #ca8a04 100%);
}

.card-icon.color-pink {
    background: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
}

.card-icon.color-teal {
    background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
}

.card-icon.color-indigo {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
}

.card-icon.color-lime {
    background: linear-gradient(135deg, #84cc16 0%, #65a30d 100%);
}

.card-icon.color-cyan {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
}

.card-icon.color-amber {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.card-icon i {
    font-size: 28px;
    color: var(--bg-white);
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-color);
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

/* 小程序开发section的卡片描述文字优化 */
.services#miniapp .service-card p {
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
}

.card-link:hover {
    gap: 12px;
}

/* 行业解决方案 - 白色背景 */
.solutions {
    padding: 100px 0;
    background: var(--bg-white);
}

.solution-grid {
    display: none;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.solution-grid.active {
    display: grid;
}

.solution-card {
    background: var(--bg-white);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.solution-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.solution-image {
    height: 180px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.solution-image i {
    font-size: 64px;
    color: var(--bg-white);
    opacity: 0.9;
}

.solution-content {
    padding: 30px;
}

.solution-content h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-color);
}

.solution-content p {
    color: var(--text-light);
    line-height: 1.8;
}

/* 成功案例 - 灰色背景 */
.cases {
    padding: 100px 0;
    background: var(--bg-light);
    min-height: 600px; /* 确保section有足够高度 */
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    color: var(--text-light);
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.case-card {
    background: var(--bg-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    min-height: 300px; /* 确保卡片有足够高度 */
    border: 1px solid #e0e0e0; /* 添加边框便于调试 */
}

.case-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.case-image {
    height: 220px;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.case-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    opacity: 0.1;
}

.case-placeholder {
    font-size: 18px;
    color: var(--text-light);
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.case-placeholder i {
    font-size: 48px;
    color: #667eea;
    opacity: 0.6;
}

/* 为不同案例添加不同的渐变色 */
.case-card:nth-child(1) .case-image::before {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.case-card:nth-child(1) .case-placeholder i {
    color: #667eea;
}

.case-card:nth-child(2) .case-image::before {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.case-card:nth-child(2) .case-placeholder i {
    color: #f093fb;
}

.case-card:nth-child(3) .case-image::before {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.case-card:nth-child(3) .case-placeholder i {
    color: #4facfe;
}

/* 案例卡片悬停时图标动画 */
.case-card:hover .case-placeholder i {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.case-info {
    padding: 25px;
}

.case-info h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-color);
}

.case-info p {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.8;
}

.case-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tag {
    padding: 4px 12px;
    background: var(--bg-light);
    border-radius: 4px;
    font-size: 12px;
    color: var(--text-color);
}

/* 关于我们 - 白色背景 */
.about {
    padding: 100px 0;
    background: var(--bg-white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--text-color);
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-item i {
    color: var(--primary-color);
    font-size: 18px;
}

.about-image {
    height: 400px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.about-placeholder {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.about-placeholder i {
    font-size: 120px;
    color: var(--bg-white);
    opacity: 0.9;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}

.about-placeholder::after {
    content: '专业团队';
    font-size: 24px;
    color: var(--bg-white);
    font-weight: 600;
    opacity: 0.9;
}

/* 联系我们 - 灰色背景 */
.contact {
    padding: 100px 0;
    background: var(--bg-light);
}


/* 上海外滩陆家嘴图片区域 - 背景图实现 */
.location-image {
    position: relative;
    margin: 0 0 15px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    height: 343px;
    width: 100%;
    background-image: url('https://images.unsplash.com/photo-1538428494232-9c0d8a3ab403?w=800&auto=format&fit=crop&q=60&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxzZWFyY2h8Mnx8c2hhbmdoYWl8ZW58MHx8MHx8fDA%3D');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
    padding: 30px 20px 20px;
    color: white;
}

.image-overlay h4 {
    font-size: 18px;
    margin-bottom: 8px;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.image-overlay p {
    font-size: 14px;
    opacity: 0.9;
    margin: 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* 联系信息区域 - 卡片风格 */
.contact-details {
    width: 100%;
}

.contact-details h4 {
    font-size: 20px;
    color: var(--text-color);
    margin-bottom: 15px;
    font-weight: 600;
    text-align: left;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
    text-align: left;
    width: 100%;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: var(--bg-white);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    width: 100%;
}

.contact-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.contact-item i {
    font-size: 24px;
    color: var(--primary-color);
    margin-top: 2px;
    flex-shrink: 0;
}

.contact-item .contact-content h5 {
    font-size: 16px;
    color: var(--text-color);
    margin-bottom: 8px;
    font-weight: 600;
    text-align: left;
}

.contact-item .contact-content p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

.contact-item .contact-content p a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item .contact-content p a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.contact-item .contact-content {
    text-align: left;
    flex: 1;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
    width: 100%;
}

.info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.info-item i {
    font-size: 24px;
    color: var(--primary-color);
    margin-top: 5px;
}

.info-item h4 {
    font-size: 16px;
    margin-bottom: 5px;
    color: var(--text-color);
}

.info-item p {
    color: var(--text-light);
}

.contact-form {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow-light);
}

.contact-form h3 {
    font-size: 24px;
    color: var(--text-color);
    margin-bottom: 30px;
    font-weight: 700;
    text-align: center;
    position: relative;
}

.contact-form h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
}

/* 页脚 */
.footer {
    background: var(--secondary-color);
    color: var(--bg-white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--bg-white);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-left p {
    margin: 0;
    display: flex;
    align-items: center;
}

.footer-left p i {
    margin-right: 8px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-right .admin-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-left: 15px;
    transition: color 0.3s ease;
}

.footer-right .admin-link:hover {
    color: var(--bg-white);
}

.footer-right .admin-link:first-child {
    margin-left: 0;
}

.footer-right .admin-link i {
    margin-right: 6px;
    color: rgba(255, 255, 255, 0.5);
}

/* 二维码样式 */
.qr-code {
    margin-top: 20px;
    text-align: left;
}

.qr-img {
    width: 150px;
    height: 150px;
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 10px;
    transition: all 0.3s ease;
    display: block;
}

.qr-img:hover {
    border-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.qr-code p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin: 0;
    text-align: left;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: var(--bg-white);
}

.beian-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.beian-icon {
    width: 16px;
    height: 16px;
    vertical-align: middle;
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--bg-white);
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-hover);
    transform: translateY(-5px);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
    }

    .nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-menu {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 20px;
    }

    .nav-actions {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    .nav-actions a {
        width: 100%;
        text-align: center;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .logo-img {
        height: 36px;
    }

    .logo-text {
        font-size: 22px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .service-cards,
    .solution-grid,
    .case-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* 小程序开发平板响应式 - 2列 */
    .services#miniapp .service-cards,
    .services#miniapp .service-cards.tab-content.active {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    /* 移动端背景图调整 */
    .location-image {
        height: 250px;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 140px 0 80px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .services,
    .solutions,
    .cases,
    .about,
    .contact {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-header h2 {
        font-size: 24px;
    }

    .stats {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 50px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    /* 移动端二维码调整 */
    .qr-img {
        width: 120px;
        height: 120px;
    }
    
    /* 移动端表单调整 */
    .radio-group,
    .checkbox-group {
        flex-direction: column;
        gap: 10px;
    }

    .checkbox-item,
    .radio-item {
        width: 100%;
        justify-content: flex-start;
    }
    
    .form-row {
        flex-direction: column;
        gap: 10px;
    }

    /* 移动端开发周期和预算垂直排列 */
    .form-group-row {
        flex-direction: column;
        gap: 20px;
    }

    .form-group-row .form-group {
        margin-bottom: 20px;
    }

    /* 小程序开发响应式 - 移动端改为2列 */
    .services#miniapp .service-cards,
    .services#miniapp .service-cards.tab-content.active {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .logo-link {
        gap: 8px;
    }

    .logo-img {
        height: 32px;
    }

    .logo-text {
        font-size: 20px;
    }

    .hero-title {
        font-size: 24px;
    }

    .btn-large {
        padding: 10px 24px;
        font-size: 14px;
    }

    .about-features {
        grid-template-columns: 1fr;
    }
}

/* 弹窗样式 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: var(--bg-white);
    border-radius: 16px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
    z-index: 1;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    border: none;
    background: var(--bg-light);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--primary-color);
    color: var(--bg-white);
    transform: rotate(90deg);
}

.modal-close i {
    font-size: 18px;
}

.modal-body {
    text-align: center;
}

.modal-body h3 {
    font-size: 28px;
    margin-bottom: 12px;
    color: var(--text-color);
}

.modal-body p {
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 16px;
}

.qrcode-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 12px;
}

.qrcode-img {
    max-width: 280px;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* 公司信息弹窗样式 */
.company-info {
    margin: 20px 0;
    text-align: left;
}

.info-row {
    display: flex;
    margin-bottom: 12px;
    align-items: flex-start;
}

.info-label {
    font-weight: 600;
    color: var(--text-color);
    min-width: 80px;
    flex-shrink: 0;
}

.info-value {
    color: var(--text-light);
    flex: 1;
    word-break: break-all;
}

#copyCompanyInfo {
    margin-top: 20px;
    width: 100%;
    justify-content: center;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* 开发需求表单样式 */
.form-label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--text-color);
    font-size: 14px;
}

.checkbox-group,
.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 5px;
}

.checkbox-item,
.radio-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--text-light);
    cursor: pointer;
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: var(--bg-white);
    transition: all 0.3s ease;
    font-weight: normal;
}

.checkbox-item:hover,
.radio-item:hover {
    border-color: var(--primary-color);
    background: rgba(204, 0, 0, 0.05);
}

.checkbox-item input[type="checkbox"],
.radio-item input[type="radio"] {
    margin: 0;
    width: auto;
    padding: 0;
    border: none;
}

.checkbox-item input[type="checkbox"]:checked + span,
.checkbox-item:has(input[type="checkbox"]:checked),
.radio-item input[type="radio"]:checked + span,
.radio-item:has(input[type="radio"]:checked) {
    color: var(--primary-color);
    font-weight: 600;
}

.form-row {
    display: flex;
    gap: 15px;
}

/* 开发周期和预算同行显示 */
.form-group-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

.form-select-half {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-select-half:focus {
    outline: none;
    border-color: var(--primary-color);
}

.budget-input {
    position: relative;
    display: flex;
    align-items: center;
}

.budget-input input {
    flex: 1;
    padding-right: 40px;
}

.budget-input .currency {
    position: absolute;
    right: 16px;
    color: var(--text-light);
    font-size: 14px;
    pointer-events: none;
}

/* 开发流程 - 白色背景 */
.development-process {
    padding: 100px 0;
    background: var(--bg-white);
}


.process-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 140px;
    position: relative;
}

/* 不同步骤的颜色主题 */
.process-step:nth-child(1) .step-number {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.process-step:nth-child(3) .step-number {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    box-shadow: 0 6px 20px rgba(240, 147, 251, 0.4);
}

.process-step:nth-child(5) .step-number {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    box-shadow: 0 6px 20px rgba(79, 172, 254, 0.4);
}

.process-step:nth-child(7) .step-number {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    box-shadow: 0 6px 20px rgba(67, 233, 123, 0.4);
}

.process-step:nth-child(9) .step-number {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    box-shadow: 0 6px 20px rgba(250, 112, 154, 0.4);
}

.process-step:nth-child(11) .step-number {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    box-shadow: 0 6px 20px rgba(168, 237, 234, 0.4);
}

.step-number {
    width: 60px;
    height: 60px;
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.step-number:hover {
    transform: translateY(-5px) scale(1.1);
}

.step-number::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: inherit;
    border-radius: 50%;
    opacity: 0.3;
    z-index: -1;
    transition: all 0.3s ease;
}

.step-number:hover::before {
    transform: scale(1.2);
    opacity: 0.5;
}

.step-content h4 {
    font-size: 18px;
    color: var(--text-color);
    margin-bottom: 10px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.step-content p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
    line-height: 1.5;
    max-width: 120px;
}

.process-step:hover .step-content h4 {
    color: var(--primary-color);
}

.process-arrow {
    color: #6c757d;
    font-size: 24px;
    margin: 0 15px;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.process-arrow:hover {
    color: var(--primary-color);
    opacity: 1;
    transform: translateX(5px);
}

/* 移动端开发流程响应式 */
@media (max-width: 768px) {
    .development-process {
        padding: 60px 0;
    }
    
    .process-steps {
        flex-direction: column;
        gap: 40px;
    }
    
    .process-arrow {
        transform: rotate(90deg);
        margin: 0;
        font-size: 20px;
    }
    
    .process-step {
        min-width: auto;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
    
    .step-number {
        width: 70px;
        height: 70px;
        font-size: 22px;
        margin-bottom: 15px;
    }
    
    .step-content h4 {
        font-size: 16px;
    }
    
    .step-content p {
        max-width: 200px;
        font-size: 13px;
    }
    
    /* 移动端悬停效果调整 */
    .step-number:hover {
        transform: scale(1.05);
    }
    
    .step-number:hover::before {
        transform: scale(1.1);
    }
}

/* 公司信息弹窗中的电话链接样式 */
.info-value a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-value a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}
