/* 基础样式重置 */ * { margin: 0; padding: 0; box-sizing: border-box; } html { scroll-behavior: smooth; } body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif; font-size: 16px; line-height: 1.6; color: #333; background-color: #fff; } .container { width: 100%; margin: 0 auto; padding: 0 20px; } a { text-decoration: none; color: inherit; } img { max-width: 100%; height: auto; } /* 导航栏 */ .header { position: absolute; top: 0; left: 0; right: 0; background: transparent; z-index: 1000; } .header .container { display: flex; justify-content: space-between; align-items: center; height: 80px; max-width: 100%; } .logo { display: flex; margin-left: 111px; align-items: center; justify-content: center; gap: 12px; } .logo img { height: 54px; width: 65px; border-radius: 5px; } .logo span { font-weight: 600; font-size: 48px; color: #EB3D00; text-stroke: 1px #FFFFFF; text-align: left; font-style: normal; text-transform: none; -webkit-text-stroke: 1px #FFFFFF; } .nav { display: flex; gap: 50px; margin-right: 111px; } .nav a { font-size: 16px; color: #666; padding: 8px 4px; position: relative; transition: all 0.3s ease; font-weight: 600; } .nav a:hover, .nav a.active { color: #e74c3c; } .nav a.active::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: #e74c3c; } /* 滚动后固定导航栏 */ .header-fixed { position: fixed; background: rgba(255, 255, 255, 0.98); box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1); animation: slideDown 0.3s ease; } @keyframes slideDown { from { transform: translateY(-100%); } to { transform: translateY(0); } } /* Hero区域 */ .hero { position: relative; width: 100%; height: 100vh; min-height: 600px; max-height: 800px; overflow: hidden; } .hero-bg { position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 0; } .hero-bg .bg-image { width: 100%; height: 100%; object-fit: cover; object-position: center; } .hero-content-wrapper { position: absolute; top: 0; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; z-index: 1; margin: 0 264px 0 188px; padding: 0 5%; } .hero-text { flex: 0 0 auto; padding-top: 60px; } .hero-text h1 { font-size: 100px; font-weight: bold; color: #EB0000; margin-bottom: 8px; line-height: 1.3; -webkit-text-stroke: 3px #FFFFFF; text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.5); } .hero-text h2 { font-size: 100px; font-weight: bold; color: #EB0000; -webkit-text-stroke: 3px #FFFFFF; line-height: 1.3; text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.5); } .hero-family { flex: 0 0 auto; display: flex; align-items: center; padding-top: 85px; } .hero-family .family-image { max-width: 860px; height: auto; filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.1)); } /* 产品特点区域 */ .features { padding: 51px 0; background: url('../images/bg2.png') no-repeat center center; background-size: cover; position: relative; height: 1211px; } .section-title { text-align: center; } .section-title h2 { font-size: 64px; font-weight: bold; color: #333; margin-bottom: 12px; } .section-title p { font-size: 32px; color: #B4B4B4; margin: 0 auto; } .features-content { display: flex; justify-content: space-between; align-items: flex-start; gap: 100px; margin: 0 auto; } .features-phone { /* flex: 0 0 400px; */ } .features-phone img { width: 876px; height: 1028px; margin-left: 382px; margin-top: -35px; /* filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15)); */ } .features-list { flex: 1; display: flex; flex-direction: column; gap: 107px; padding-top: 111px; } .feature-item { display: flex; align-items: flex-start; gap: 20px; padding: 0; transition: all 0.3s ease; } .feature-item:hover { transform: translateX(5px); } .feature-icon { flex: 0 0 40px; width: 40px; height: 40px; background: #e74c3c; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-top: 5px; } .feature-icon .icon-text { font-size: 18px; color: white; } .feature-info h3 { font-size: 40px; font-weight: bold; color: #1A1A1A; margin-bottom: 5px; } .feature-info p { font-size: 32px; color: #B4B4B4; line-height: 1.6; } /* 成功案例区域 */ .cases { width: 100%; height: 1484px; padding: 43px 0; background: url('../images/bg3.png') no-repeat center center; background-size: cover; position: relative; } .cases .section-title h2 { color: #1A1A1A; } .cases-grid { display: grid; margin-top: 102px; grid-template-columns: repeat(3, 0fr); grid-row-gap: 84px; grid-column-gap: 102px; justify-content: center; } .case-item { background: #fff; border-radius: 25px; width: 467px; height: 476px; overflow: hidden; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); transition: all 0.3s ease; } .case-item:hover { transform: translateY(-10px); box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15); } .case-image { width: 100%; height: 286px; overflow: hidden; } .case-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; } .case-item:hover .case-image img { transform: scale(1.05); } .case-info { padding: 20px; } .case-desc { font-size: 28px; color: #545454; margin-bottom: 8px; } .case-name { font-size: 28px; color: #545454; margin-bottom: 12px; } .case-result { font-size: 32px; color: #585858; } .case-result .highlight { color: #EB3D00; font-weight: bold; } /* 页脚 */ .footer { padding: 30px 0; background: #171E2B; border-top: 1px solid #eee; } .footer-content { text-align: center; } .footer-content p { font-size: 24px; color: #FFFFFF; margin-bottom: 8px; } .footer-content .company { color: #FFFFFF; } /* 响应式设计 */ @media (max-width: 992px) { .hero { height: auto; min-height: 500px; max-height: none; } .hero-content-wrapper { flex-direction: column; text-align: center; padding: 0 5%; } .hero-text { padding-top: 100px; margin-bottom: 30px; } .hero-text h1, .hero-text h2 { font-size: 38px; } .hero-family { padding-top: 0; } .hero-family .family-image { max-width: 400px; } .features-content { flex-direction: column; gap: 50px; text-align: center; } .features-phone { flex: none; order: -1; align-self: center; } .features-phone img { max-width: 300px; } .features-list { gap: 30px; } .feature-item { justify-content: center; } .cases-grid { grid-template-columns: repeat(2, 1fr); } } @media () { .header .container { height: 60px; } .logo span { font-size: 20px; } .nav { gap: 20px; } .nav a { font-size: 14px; } .hero-content-wrapper { padding: 0 20px; } .hero-text { padding-top: 80px; } .hero-text h1, .hero-text h2 { font-size: 32px; } .hero-family .family-image { max-width: 300px; } .section-title h2 { font-size: 28px; } .features, .cases { padding: 60px 0; } .cases-grid { grid-template-columns: 1fr; } .feature-item { padding: 15px; } .feature-info h3 { font-size: 18px; } } @media (max-width: 480px) { .nav { gap: 15px; } .nav a { font-size: 12px; } .hero-text h1, .hero-text h2 { font-size: 26px; } .hero-family .family-image { max-width: 250px; } .section-title h2 { font-size: 22px; } .footer-content p { font-size: 12px; } }