/* 全局样式 - 与首页保持一致 */ :root {--primary: #2563eb; --primary-dark: #1d4ed8; --primary-light: #dbeafe; --secondary: #4f46e5; --light: #f8fafc; --dark: #0f172a; --gray: #64748b; --success: #10b981; --border: #e2e8f0; --shadow: 0 4px 6px rgba(0, 0, 0, 0.1); } * {margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif; } body {background-color: #f9fafb; color: var(--dark); line-height: 1.6; overflow-x: hidden; font-size: 1rem; } a{text-decoration: none; } /* 页面顶部横幅 */ .page-banner {background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%); color: white; padding: 80px 0; text-align: center; position: relative; overflow: hidden; } .page-banner::before {content: ''; position: absolute; top: -50px; right: -50px; width: 200px; height: 200px; background: rgba(255, 255, 255, 0.1); border-radius: 50%; } .page-banner::after {content: ''; position: absolute; bottom: -80px; left: -80px; width: 300px; height: 300px; background: rgba(255, 255, 255, 0.1); border-radius: 50%; } .page-banner h1 {font-size: 2.8rem; margin-bottom: 20px; position: relative; z-index: 2; } .page-banner p {font-size: 1.2rem; max-width: 800px; margin: 0 auto; position: relative; z-index: 2; } /* 内容区块通用样式 */ .section-title {text-align: center; margin-bottom: 3rem; padding: 0 20px; } .section-title h2 {font-size: 2.2rem; color: var(--dark); margin-bottom: 1.5rem; position: relative; display: inline-block; } .section-title h2::after {content: ''; position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%); width: 80px; height: 4px; background: var(--primary); border-radius: 2px; } .section-title p {color: var(--gray); max-width: 800px; margin: 0 auto; font-size: 1.1rem; } /* 服务特色区块 */ .features {padding: 4rem 0; } .features-grid {display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 2rem; } .feature-card {background-color: white; border-radius: 15px; overflow: hidden; box-shadow: var(--shadow); transition: all 0.4s ease; display: flex; flex-direction: column; height: 100%; position: relative; overflow: hidden; } .feature-card:hover {transform: translateY(-15px); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15); } .feature-img {height: 220px; background-size: cover; background-position: center; transition: transform 0.5s ease; } .feature-card:hover .feature-img {transform: scale(1.05); } .feature-content {padding: 30px; flex-grow: 1; display: flex; flex-direction: column; } .feature-content h3 {margin-bottom: 20px; color: var(--primary); font-size: 1.6rem; } .feature-content p {margin-bottom: 25px; color: var(--gray); flex-grow: 1; font-size: 1rem; } .features-list {list-style: none; margin-bottom: 25px; } .features-list li {padding: 10px 0; padding-left: 30px; position: relative; border-bottom: 1px solid #eee; font-size: 0.95rem; } .features-list li:last-child {border-bottom: none; } .features-list li::before {content: '✓'; position: absolute; left: 0; top: 10px; color: var(--success); font-weight: bold; } .btn {display: inline-block; background-color: var(--primary); color: white; padding: 12px 30px; border-radius: 30px; text-decoration: none; font-weight: 600; text-align: center; transition: all 0.3s ease; border: 2px solid var(--primary); font-size: 1rem; } .btn:hover {background-color: transparent; color: var(--primary); } /* 技术栈展示 - 重新构建 */ .tech-stack {padding: 4rem 0; background: linear-gradient(135deg, #f0f9ff 0%, #e0f7ff 100%); position: relative; overflow: hidden; } .tech-stack::before {content: ''; position: absolute; top: -100px; right: -100px; width: 300px; height: 300px; background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%); border-radius: 50%; } .tech-stack::after {content: ''; position: absolute; bottom: -100px; left: -100px; width: 300px; height: 300px; background: radial-gradient(circle, rgba(79, 70, 229, 0.1) 0%, transparent 70%); border-radius: 50%; } .tech-categories {display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin-bottom: 40px; } .tech-category-btn {background: white; border: 2px solid var(--primary); color: var(--primary); padding: 10px 25px; border-radius: 50px; font-weight: 600; cursor: pointer; transition: all 0.3s ease; } .tech-category-btn.active, .tech-category-btn:hover {background: var(--primary); color: white; box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3); } .tech-items-container {position: relative; transition: height 0.5s ease; } .tech-items {display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 20px; transition: opacity 0.3s ease; } .tech-item {background: white; border-radius: 12px; padding: 20px; text-align: center; box-shadow: var(--shadow); transition: all 0.4s ease; display: none; opacity: 0; transform: translateY(20px); } .tech-item.active {display: block; animation: fadeInUp 0.5s ease forwards; } .tech-item:hover {transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15); } .tech-icon {width: 60px; height: 60px; margin: 0 auto 15px; display: flex; align-items: center; justify-content: center; font-size: 2.5rem; color: var(--primary); } .tech-name {font-weight: 600; color: var(--dark); margin-bottom: 5px; } .tech-desc {font-size: 0.85rem; color: var(--gray); } @keyframes fadeInUp {from {opacity: 0; transform: translateY(20px); } to {opacity: 1; transform: translateY(0); } } /* 开发流程 */ .process {padding: 4rem 0; } .process-steps {display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; margin-top: 3rem; position: relative; } .process-steps::before {content: ''; position: absolute; top: 60px; left: 50%; transform: translateX(-50%); width: 80%; height: 3px; background: var(--primary-light); z-index: 1; } .process-step {background: white; border-radius: 15px; padding: 30px; box-shadow: var(--shadow); text-align: center; width: 250px; position: relative; z-index: 2; transition: all 0.4s ease; opacity: 0; transform: translateY(30px); } .process-step.show {opacity: 1; transform: translateY(0); } .process-step:hover {transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15); } .step-number {width: 60px; height: 60px; background: var(--primary); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 700; margin: 0 auto 20px; } .process-step h3 {margin-bottom: 15px; color: var(--primary); } .process-step p {color: var(--gray); font-size: 0.95rem; } /* 案例展示 */ .cases {padding: 4rem 0; background-color: #f8fafc; } .cases-grid {display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 30px; margin-top: 2rem; } .case-card {background: white; border-radius: 15px; overflow: hidden; box-shadow: var(--shadow); transition: all 0.4s ease; } .case-card:hover {transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15); } .case-image {height: 250px; overflow: hidden; } .case-image img {width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; } .case-card:hover .case-image img {transform: scale(1.1); } .case-content {padding: 25px; } .case-content h3 {margin-bottom: 15px; color: var(--primary); } .case-content p {color: var(--gray); margin-bottom: 20px; } .case-tags {display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; } .case-tag {background: var(--primary-light); color: var(--primary); padding: 5px 15px; border-radius: 20px; font-size: 0.85rem; font-weight: 600; } /* CTA区域 */ .cta-section {padding: 5rem 0; background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%); color: white; text-align: center; } .cta-content {max-width: 800px; margin: 0 auto; } .cta-content h2 {font-size: 2.5rem; margin-bottom: 20px; } .cta-content p {font-size: 1.1rem; margin-bottom: 30px; opacity: 0.9; } .cta-btn {display: inline-block; background: white; color: var(--primary); padding: 15px 40px; border-radius: 50px; font-weight: 700; font-size: 1.1rem; transition: all 0.3s ease; border-width:0; } .cta-btn:hover {transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); } /* 响应式设计 */ @media (max-width: 992px) {.page-banner h1 {font-size: 2.3rem; } .process-steps::before {display: none; } } @media (max-width: 768px) {.navbar {flex-direction: column; gap: 20px; } .nav-links {flex-wrap: wrap; justify-content: center; } .page-banner {padding: 60px 0; } .page-banner h1 {font-size: 2rem; } .section-title h2 {font-size: 2rem; } .tech-items {grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); } } @media (max-width: 576px) {.page-banner h1 {font-size: 1.8rem; } .page-banner p {font-size: 1rem; } .features-grid {grid-template-columns: 1fr; } .cases-grid {grid-template-columns: 1fr; } .process-step {width: 100%; max-width: 300px; } }