614 lines
9.3 KiB
CSS
614 lines
9.3 KiB
CSS
/* 51租 - 全局样式 */
|
|
:root {
|
|
--primary: #FF6B00;
|
|
--primary-dark: #e55f00;
|
|
--white: #FFFFFF;
|
|
--gray-light: #F7F7F7;
|
|
--gray: #666666;
|
|
--gray-dark: #333333;
|
|
--shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
|
|
--shadow-hover: 0 8px 24px rgba(255, 107, 0, 0.15);
|
|
}
|
|
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html {
|
|
scroll-behavior: smooth;
|
|
}
|
|
|
|
body {
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
|
|
color: var(--gray-dark);
|
|
background: var(--white);
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.container {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
padding: 0 24px;
|
|
}
|
|
|
|
/* 导航栏 */
|
|
.header {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
background: var(--white);
|
|
box-shadow: var(--shadow);
|
|
z-index: 1000;
|
|
height: 64px;
|
|
}
|
|
|
|
.header .container {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
height: 100%;
|
|
}
|
|
|
|
.logo {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
font-size: 24px;
|
|
font-weight: bold;
|
|
color: var(--primary);
|
|
text-decoration: none;
|
|
}
|
|
|
|
.logo-icon {
|
|
width: 36px;
|
|
height: 36px;
|
|
background: var(--primary);
|
|
border-radius: 8px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: white;
|
|
font-size: 18px;
|
|
}
|
|
|
|
.nav {
|
|
display: flex;
|
|
gap: 32px;
|
|
}
|
|
|
|
.nav a {
|
|
color: var(--gray-dark);
|
|
text-decoration: none;
|
|
font-size: 15px;
|
|
transition: color 0.3s;
|
|
}
|
|
|
|
.nav a:hover {
|
|
color: var(--primary);
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.nav {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
/* Hero 区域 */
|
|
.hero {
|
|
min-height: 100vh;
|
|
background: var(--primary);
|
|
display: flex;
|
|
align-items: center;
|
|
padding-top: 64px;
|
|
}
|
|
|
|
.hero-content {
|
|
text-align: center;
|
|
color: var(--white);
|
|
}
|
|
|
|
.hero h1 {
|
|
font-size: 64px;
|
|
font-weight: 800;
|
|
margin-bottom: 16px;
|
|
letter-spacing: -1px;
|
|
}
|
|
|
|
.hero p {
|
|
font-size: 22px;
|
|
opacity: 0.95;
|
|
margin-bottom: 40px;
|
|
max-width: 600px;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
.hero-buttons {
|
|
display: flex;
|
|
gap: 16px;
|
|
justify-content: center;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 14px 32px;
|
|
border-radius: 8px;
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
text-decoration: none;
|
|
transition: all 0.3s;
|
|
cursor: pointer;
|
|
border: none;
|
|
}
|
|
|
|
.btn-primary {
|
|
background: var(--white);
|
|
color: var(--primary);
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
background: var(--gray-light);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.btn-secondary {
|
|
background: transparent;
|
|
color: var(--white);
|
|
border: 2px solid var(--white);
|
|
}
|
|
|
|
.btn-secondary:hover {
|
|
background: var(--white);
|
|
color: var(--primary);
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.hero h1 {
|
|
font-size: 40px;
|
|
}
|
|
.hero p {
|
|
font-size: 18px;
|
|
}
|
|
}
|
|
|
|
/* 通用区块 */
|
|
.section {
|
|
padding: 80px 0;
|
|
}
|
|
|
|
.section-gray {
|
|
background: var(--gray-light);
|
|
}
|
|
|
|
.section-title {
|
|
text-align: center;
|
|
margin-bottom: 48px;
|
|
}
|
|
|
|
.section-title h2 {
|
|
font-size: 36px;
|
|
font-weight: 700;
|
|
color: var(--gray-dark);
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.section-title p {
|
|
font-size: 16px;
|
|
color: var(--gray);
|
|
}
|
|
|
|
/* 关于我们 */
|
|
.about-content {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 48px;
|
|
align-items: center;
|
|
}
|
|
|
|
.about-text p {
|
|
font-size: 16px;
|
|
color: var(--gray);
|
|
margin-bottom: 16px;
|
|
line-height: 1.8;
|
|
}
|
|
|
|
.about-image img {
|
|
width: 100%;
|
|
border-radius: 12px;
|
|
box-shadow: var(--shadow);
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.about-content {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
.about-image {
|
|
order: -1;
|
|
}
|
|
}
|
|
|
|
/* 车型展示 */
|
|
.models-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
|
|
gap: 24px;
|
|
}
|
|
|
|
.model-card {
|
|
background: var(--white);
|
|
border-radius: 12px;
|
|
overflow: hidden;
|
|
box-shadow: var(--shadow);
|
|
transition: all 0.3s;
|
|
}
|
|
|
|
.model-card:hover {
|
|
transform: translateY(-4px);
|
|
box-shadow: var(--shadow-hover);
|
|
}
|
|
|
|
.model-card img {
|
|
width: 100%;
|
|
height: 180px;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.model-info {
|
|
padding: 20px;
|
|
}
|
|
|
|
.model-name {
|
|
font-size: 20px;
|
|
font-weight: 600;
|
|
color: var(--gray-dark);
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.model-price {
|
|
font-size: 18px;
|
|
color: var(--primary);
|
|
font-weight: 700;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.model-desc {
|
|
font-size: 14px;
|
|
color: var(--gray);
|
|
}
|
|
|
|
/* 用户故事 */
|
|
.stories-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
|
gap: 24px;
|
|
}
|
|
|
|
.story-card {
|
|
background: var(--white);
|
|
border-radius: 12px;
|
|
padding: 32px;
|
|
box-shadow: var(--shadow);
|
|
transition: all 0.3s;
|
|
}
|
|
|
|
.story-card:hover {
|
|
transform: translateY(-4px);
|
|
box-shadow: var(--shadow-hover);
|
|
}
|
|
|
|
.story-avatar {
|
|
width: 64px;
|
|
height: 64px;
|
|
border-radius: 50%;
|
|
object-fit: cover;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.story-quote {
|
|
font-size: 16px;
|
|
color: var(--gray-dark);
|
|
line-height: 1.7;
|
|
margin-bottom: 16px;
|
|
font-style: italic;
|
|
}
|
|
|
|
.story-author {
|
|
font-size: 14px;
|
|
color: var(--gray);
|
|
}
|
|
|
|
/* 联系我们 */
|
|
.contact-content {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 48px;
|
|
}
|
|
|
|
.contact-info {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 24px;
|
|
}
|
|
|
|
.contact-item {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 16px;
|
|
}
|
|
|
|
.contact-icon {
|
|
width: 48px;
|
|
height: 48px;
|
|
background: var(--primary);
|
|
border-radius: 12px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: white;
|
|
font-size: 20px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.contact-text h4 {
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
color: var(--gray-dark);
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.contact-text p {
|
|
font-size: 14px;
|
|
color: var(--gray);
|
|
}
|
|
|
|
.contact-form {
|
|
background: var(--white);
|
|
padding: 32px;
|
|
border-radius: 12px;
|
|
box-shadow: var(--shadow);
|
|
}
|
|
|
|
.form-group {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.form-group label {
|
|
display: block;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
color: var(--gray-dark);
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.form-group input,
|
|
.form-group textarea {
|
|
width: 100%;
|
|
padding: 12px 16px;
|
|
border: 1px solid #e0e0e0;
|
|
border-radius: 8px;
|
|
font-size: 14px;
|
|
transition: border-color 0.3s;
|
|
}
|
|
|
|
.form-group input:focus,
|
|
.form-group textarea:focus {
|
|
outline: none;
|
|
border-color: var(--primary);
|
|
}
|
|
|
|
.form-group textarea {
|
|
resize: vertical;
|
|
min-height: 100px;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.contact-content {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
/* Footer */
|
|
.footer {
|
|
background: var(--gray-dark);
|
|
color: var(--white);
|
|
padding: 40px 0 20px;
|
|
}
|
|
|
|
.footer-content {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
gap: 20px;
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
.footer-links {
|
|
display: flex;
|
|
gap: 24px;
|
|
}
|
|
|
|
.footer-links a {
|
|
color: rgba(255, 255, 255, 0.8);
|
|
text-decoration: none;
|
|
font-size: 14px;
|
|
transition: color 0.3s;
|
|
}
|
|
|
|
.footer-links a:hover {
|
|
color: var(--primary);
|
|
}
|
|
|
|
.footer-copyright {
|
|
font-size: 14px;
|
|
color: rgba(255, 255, 255, 0.6);
|
|
text-align: center;
|
|
padding-top: 20px;
|
|
border-top: 1px solid rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
/* AI智能团队 */
|
|
.section-subtitle {
|
|
color: #666;
|
|
font-size: 16px;
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.team-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, 1fr);
|
|
gap: 24px;
|
|
margin-bottom: 48px;
|
|
}
|
|
|
|
.team-card {
|
|
background: #fff;
|
|
border-radius: 16px;
|
|
padding: 28px 20px;
|
|
text-align: center;
|
|
box-shadow: 0 2px 12px rgba(0,0,0,0.05);
|
|
transition: transform 0.3s, box-shadow 0.3s;
|
|
}
|
|
|
|
.team-card:hover {
|
|
transform: translateY(-4px);
|
|
box-shadow: 0 8px 24px rgba(255,107,0,0.15);
|
|
}
|
|
|
|
.team-avatar {
|
|
font-size: 48px;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.team-name {
|
|
font-size: 18px;
|
|
font-weight: 600;
|
|
color: #1A1A1A;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.team-role {
|
|
font-size: 13px;
|
|
color: #FF6B00;
|
|
font-weight: 500;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.team-desc {
|
|
font-size: 13px;
|
|
color: #888;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.team-capabilities {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: 24px;
|
|
}
|
|
|
|
.capability-item {
|
|
background: #F7F7F7;
|
|
border-radius: 12px;
|
|
padding: 20px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
|
|
.capability-icon {
|
|
font-size: 28px;
|
|
}
|
|
|
|
.capability-title {
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
color: #1A1A1A;
|
|
}
|
|
|
|
.capability-desc {
|
|
font-size: 13px;
|
|
color: #888;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
@media (max-width: 1024px) {
|
|
.team-grid {
|
|
grid-template-columns: repeat(2, 1fr);
|
|
}
|
|
.team-capabilities {
|
|
grid-template-columns: repeat(2, 1fr);
|
|
}
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.team-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
.team-capabilities {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
/* AI日记 */
|
|
.section-diary {
|
|
background: #fff;
|
|
border-top: 1px solid #f0f0f0;
|
|
}
|
|
|
|
.diary-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, 1fr);
|
|
gap: 20px;
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
.diary-card {
|
|
background: #fff;
|
|
border-radius: 12px;
|
|
padding: 24px;
|
|
border-left: 4px solid #FF6B00;
|
|
box-shadow: 0 2px 8px rgba(0,0,0,0.04);
|
|
transition: transform 0.3s, box-shadow 0.3s;
|
|
}
|
|
|
|
.diary-card:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 6px 16px rgba(255,107,0,0.12);
|
|
}
|
|
|
|
.diary-date {
|
|
font-size: 12px;
|
|
color: #FF6B00;
|
|
font-weight: 600;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.diary-title {
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
color: #1A1A1A;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.diary-excerpt {
|
|
font-size: 13px;
|
|
color: #666;
|
|
line-height: 1.7;
|
|
display: -webkit-box;
|
|
-webkit-line-clamp: 3;
|
|
-webkit-box-orient: vertical;
|
|
overflow: hidden;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.diary-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|