/* 全局样式 */ * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Noto Sans SC', sans-serif; line-height: 1.6; color: #333; } /* 导航栏样式 */ .header { background-color: #fff; box-shadow: 0 2px 4px rgba(0,0,0,0.1); position: fixed; width: 100%; top: 0; z-index: 1000; } .nav { max-width: 1200px; margin: 0 auto; padding: 1rem; display: flex; justify-content: space-between; align-items: center; } .logo { font-size: 1.5rem; font-weight: 700; color: #2563eb; } .nav-links { display: flex; list-style: none; gap: 2rem; } .nav-links a { text-decoration: none; color: #333; font-weight: 500; transition: color 0.3s; } .nav-links a:hover { color: #2563eb; } /* 英雄区域样式 */ .hero { padding: 8rem 2rem 4rem; background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%); display: flex; align-items: center; justify-content: space-between; max-width: 1200px; margin: 0 auto; } .hero-content { flex: 1; padding-right: 2rem; } .hero h1 { font-size: 2.5rem; margin-bottom: 1rem; color: #1e40af; } .hero p { font-size: 1.2rem; color: #64748b; margin-bottom: 2rem; } .cta-button { background-color: #2563eb; color: white; padding: 1rem 2rem; border: none; border-radius: 0.5rem; font-size: 1.1rem; cursor: pointer; transition: background-color 0.3s; text-decoration: none; display: inline-block; } .cta-button:hover { background-color: #1d4ed8; color: white; text-decoration: none; } .hero-image { flex: 1; } .hero-image img { max-width: 100%; border-radius: 1rem; box-shadow: 0 4px 6px rgba(0,0,0,0.1); } /* 功能特点样式 */ .features { padding: 4rem 2rem; max-width: 1200px; margin: 0 auto; } .features h2 { text-align: center; font-size: 2rem; margin-bottom: 3rem; color: #1e40af; } .feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; } .feature-card { background: white; padding: 2rem; border-radius: 1rem; box-shadow: 0 4px 6px rgba(0,0,0,0.1); text-align: center; transition: transform 0.3s; } .feature-card:hover { transform: translateY(-5px); } .feature-icon { font-size: 2.5rem; margin-bottom: 1rem; } .feature-card h3 { color: #1e40af; margin-bottom: 1rem; } /* 安全保障样式 */ .security { padding: 4rem 2rem; background-color: #f8fafc; } .security h2 { text-align: center; font-size: 2rem; margin-bottom: 3rem; color: #1e40af; } .security-content { max-width: 1200px; margin: 0 auto; padding: 2rem; background: white; border-radius: 1rem; box-shadow: 0 4px 6px rgba(0,0,0,0.1); } .security-text { width: 100%; } .security-text h3 { color: #1e40af; margin-bottom: 2rem; font-size: 1.5rem; text-align: center; } .security-text ul { list-style: none; margin-bottom: 2rem; } .security-text li { margin-bottom: 1rem; padding-left: 1.5rem; position: relative; color: #4b5563; line-height: 1.8; } .security-text li::before { content: "✓"; color: #2563eb; position: absolute; left: 0; font-weight: bold; } .security-highlight { background: #f0f9ff; padding: 2rem; border-radius: 0.5rem; margin-top: 2rem; } .security-highlight p { color: #1e40af; font-weight: 600; margin-bottom: 1rem; font-size: 1.2rem; } .security-highlight ul { margin-bottom: 0; } .security-highlight li { color: #2563eb; font-weight: 500; } .security-image { flex: 1; } .security-image img { max-width: 100%; border-radius: 1rem; box-shadow: 0 4px 6px rgba(0,0,0,0.1); } /* 价格方案样式 */ .pricing { padding: 4rem 2rem; max-width: 1200px; margin: 0 auto; } .pricing h2 { text-align: center; font-size: 2rem; margin-bottom: 3rem; color: #1e40af; } .pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; } .pricing-card { background: white; padding: 2rem; border-radius: 1rem; box-shadow: 0 4px 6px rgba(0,0,0,0.1); text-align: center; transition: transform 0.3s; } .pricing-card.featured { transform: scale(1.05); border: 2px solid #2563eb; } .pricing-card:hover { transform: translateY(-5px); } .pricing-card h3 { color: #1e40af; margin-bottom: 1rem; } .price { font-size: 2rem; font-weight: 700; color: #2563eb; margin-bottom: 1rem; } .pricing-card ul { list-style: none; margin: 2rem 0; } .pricing-card li { margin-bottom: 0.5rem; color: #64748b; } .pricing-button { background-color: #2563eb; color: white; padding: 0.8rem 1.5rem; border: none; border-radius: 0.5rem; cursor: pointer; transition: background-color 0.3s; width: 100%; text-decoration: none; display: inline-block; text-align: center; } .pricing-button:hover { background-color: #1d4ed8; color: white; text-decoration: none; } /* 联系我们样式 */ .contact { padding: 4rem 2rem; background-color: #f8fafc; } .contact h2 { text-align: center; font-size: 2rem; margin-bottom: 3rem; color: #1e40af; } .contact-content { max-width: 600px; margin: 0 auto; } .contact-form { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; } .contact-form input, .contact-form textarea { padding: 1rem; border: 1px solid #e2e8f0; border-radius: 0.5rem; font-size: 1rem; } .contact-form textarea { height: 150px; resize: vertical; } .submit-button { background-color: #2563eb; color: white; padding: 1rem; border: none; border-radius: 0.5rem; font-size: 1.1rem; cursor: pointer; transition: background-color 0.3s; } .submit-button:hover { background-color: #1d4ed8; } .contact-info { text-align: center; padding: 2rem; background: white; border-radius: 1rem; box-shadow: 0 4px 6px rgba(0,0,0,0.1); } .contact-info p { margin-bottom: 1rem; color: #64748b; } .contact-info .warning { color: #dc2626; font-weight: 500; margin-top: 1rem; padding: 1rem; background: #fee2e2; border-radius: 0.5rem; } /* 页脚样式 */ .footer { background-color: #1e40af; color: white; padding: 4rem 2rem 2rem; } .footer-content { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; } .footer-section h4 { margin-bottom: 1rem; } .footer-section p { margin-bottom: 0.5rem; color: rgba(255,255,255,0.8); } .footer-link { color: rgba(255,255,255,0.8); text-decoration: none; transition: color 0.3s ease; } .footer-link:hover { color: #60a5fa; } .footer-bottom { text-align: center; margin-top: 2rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); } /* 响应式设计 */ @media (max-width: 768px) { .hero { flex-direction: column; text-align: center; padding-top: 6rem; } .hero-content { padding-right: 0; margin-bottom: 2rem; } .security-content { flex-direction: column; } .pricing-card.featured { transform: none; } } @media (max-width: 480px) { .nav { flex-direction: column; gap: 1rem; } .nav-links { flex-direction: column; text-align: center; gap: 1rem; } }