/* 全局样式优化 - 与首页保持一致 */ :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; } /* 产品头部区域 */ .product-header {padding: 10rem 0; text-align: center; background: linear-gradient(135deg, #ff7e5f 0%, #feb47b 100%); position: relative; overflow: hidden; } .product-header::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%; } .product-header::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%; } .product-title {font-size: 2.5rem; color: #fff; margin-bottom: 1.5rem; position: relative; display: inline-block; } .product-title::after {content: ''; position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%); width: 80px; height: 4px; background:#fff; border-radius: 2px; } .product-description {color: #fff; max-width: 800px; margin: 0 auto 2rem; font-size: 1.1rem; } .product-highlights {display: flex; justify-content: center; gap: 30px; margin-top: 2rem; flex-wrap: wrap; } .highlight-item {background: white; border-radius: 15px; padding: 20px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 15px; transition: all 0.3s ease; } .highlight-item:hover {transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15); } .highlight-icon {width: 50px; height: 50px; background: var(--primary-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; } .highlight-icon img {width: 30px; height: 30px; object-fit: contain; } .highlight-content h3 {font-size: 1.1rem; margin-bottom: 5px; color: var(--dark); } .highlight-content p {color: var(--gray); font-size: 0.9rem; } /* 服务介绍模块 */ .service-intro {margin-bottom: 4rem; } .intro-content {display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; } .intro-text h2 {font-size: 2rem; color: var(--dark); margin-bottom: 1.5rem; } .intro-text p {margin-bottom: 1.5rem; color: var(--gray); line-height: 1.8; } .intro-image {border-radius: 15px; overflow: hidden; box-shadow: var(--shadow); } .intro-image img {width: 100%; height: auto; display: block; transition: transform 0.5s ease; } .intro-image:hover img {transform: scale(1.05); } /* 服务项目模块 */ .services-section {margin-bottom: 4rem; } .section-title {text-align: center; margin-bottom: 3rem; } .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; } .services-grid {display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; } .service-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%; transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15); } .service-img {height: 220px; background-size: cover; background-position: center; } .service-content {padding: 30px; flex-grow: 1; display: flex; flex-direction: column; } .service-content h3 {margin-bottom: 15px; color: var(--primary); font-size: 1.6rem; } .service-content p {margin-bottom: 20px; color: var(--gray); flex-grow: 1; } .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; cursor: pointer; } .btn:hover {background-color: transparent; color: var(--primary); } .btn-outline {background-color: transparent; border-color: #fff; color:#fff; } .btn-outline:hover {background-color: var(--primary); border-color: #fff; color: white; } /* 图标容器样式 */ .service-icon {height: 150px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; transition: all 0.5s ease; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); } .service-card .service-icon img {width:64px; } /* 图标背景装饰元素 */ .service-icon::before {content: ''; position: absolute; width: 100px; height: 100px; background: rgba(255, 255, 255, 0.1); border-radius: 50%; top: -30px; right: -30px; transition: all 0.5s ease; } .service-icon::after {content: ''; position: absolute; width: 80px; height: 80px; background: rgba(255, 255, 255, 0.1); border-radius: 50%; bottom: -20px; left: -20px; transition: all 0.5s ease; } .service-card:hover .service-icon::before {transform: scale(1.5); background: rgba(255, 255, 255, 0.2); } .service-card:hover .service-icon::after {transform: scale(1.5); background: rgba(255, 255, 255, 0.2); } /* 图标悬浮动画元素 */ .floating-elements {position: absolute; width: 100%; height: 100%; top: 0; left: 0; overflow: hidden; } .floating-elements span {position: absolute; display: block; width: 10px; height: 10px; background: rgba(255, 255, 255, 0.4); border-radius: 50%; opacity: 0; transition: all 0.8s ease; } .service-card:hover .floating-elements span {opacity: 1; } .floating-elements span:nth-child(1) {top: 20%; left: 20%; animation: float 6s infinite linear; } .floating-elements span:nth-child(2) {top: 60%; left: 70%; animation: float 8s infinite linear; animation-delay: 1s; } .floating-elements span:nth-child(3) {top: 40%; left: 40%; animation: float 10s infinite linear; animation-delay: 2s; } .floating-elements span:nth-child(4) {top: 70%; left: 30%; animation: float 7s infinite linear; animation-delay: 0.5s; } @keyframes float {0% {transform: translateY(0) translateX(0); } 25% {transform: translateY(-20px) translateX(10px); } 50% {transform: translateY(-10px) translateX(20px); } 75% {transform: translateY(10px) translateX(10px); } 100% {transform: translateY(0) translateX(0); } } /* 应用场景模块 */ .application-scenes {margin-bottom: 4rem; } .scenes-grid {display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; } .scene-card {background-color: white; border-radius: 15px; overflow: hidden; box-shadow: var(--shadow); transition: all 0.4s ease; } .scene-card:hover {transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15); } .scene-img {height: 200px; background-size: cover; background-position: center; position: relative; } .scene-img::after {content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 50%; background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%); } .scene-title {position: absolute; bottom: 20px; left: 20px; color: white; font-size: 1.4rem; font-weight: 600; z-index: 2; } .scene-content {padding: 20px; } .scene-content p {color: var(--gray); margin-bottom: 15px; } /* CTA区域 */ .cta-section {background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: white; padding: 4rem 0; text-align: center; } .cta-content {max-width: 800px; margin: 0 auto; } .cta-content h2 {font-size: 2.2rem; margin-bottom: 1.5rem; } .cta-content p {margin-bottom: 2rem; opacity: 0.9; } .cta-buttons {display: flex; gap: 20px; justify-content: center; } /* 底部区域优化 */ footer {background-color: var(--dark); color: white; padding: 4rem 0 2rem; margin-top: 0; } .footer-content {display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; margin-bottom: 2rem; } .footer-column h3 {margin-bottom: 25px; font-size: 1.4rem; position: relative; padding-bottom: 15px; } .footer-column h3::after {content: ''; position: absolute; bottom: 0; left: 0; width: 50px; height: 3px; background-color: var(--primary); } .footer-column ul {list-style: none; } .footer-column ul li {margin-bottom: 12px; } .footer-column a {color: #cbd5e1; text-decoration: none; transition: color 0.3s ease; display: block; padding: 5px 0; font-size: 0.95rem; } .footer-column a:hover {color: white; padding-left: 5px; } .contact-info p {display: flex; align-items: flex-start; margin-bottom: 15px; line-height: 1.8; font-size: 0.95rem; } .contact-info i {margin-right: 15px; min-width: 20px; color: var(--primary); } .copyright {text-align: center; padding-top: 30px; border-top: 1px solid #334155; color: #94a3b8; font-size: 0.9rem; margin-top: 30px; } /* 响应式设计 */ @media (max-width: 992px) {.intro-content {grid-template-columns: 1fr; } .intro-image {order: -1; } } @media (max-width: 768px) {.navbar {flex-direction: column; gap: 20px; } .nav-links {flex-wrap: wrap; justify-content: center; } .page-header h1 {font-size: 2rem; } .cta-buttons {flex-direction: column; align-items: center; } } @media (max-width: 576px) {.page-header h1 {font-size: 1.8rem; } .section-title h2 {font-size: 1.8rem; } .services-grid {grid-template-columns: 1fr; } }