826 行
14 KiB
CSS
826 行
14 KiB
CSS
/* CSS变量定义 */
|
|
:root {
|
|
--primary-color: #2563eb;
|
|
--primary-hover: #1d4ed8;
|
|
--secondary-color: #64748b;
|
|
--accent-color: #f59e0b;
|
|
--success-color: #10b981;
|
|
--warning-color: #f59e0b;
|
|
--error-color: #ef4444;
|
|
--text-primary: #1e293b;
|
|
--text-secondary: #64748b;
|
|
--text-muted: #94a3b8;
|
|
--bg-primary: #ffffff;
|
|
--bg-secondary: #f8fafc;
|
|
--bg-tertiary: #f1f5f9;
|
|
--border-color: #e2e8f0;
|
|
--border-light: #f1f5f9;
|
|
--shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
|
|
--shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
|
|
--shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
|
|
--shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
|
|
--radius-sm: 0.375rem;
|
|
--radius-md: 0.5rem;
|
|
--radius-lg: 0.75rem;
|
|
--radius-xl: 1rem;
|
|
}
|
|
|
|
/* 全局样式重置 */
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html {
|
|
scroll-behavior: smooth;
|
|
}
|
|
|
|
body {
|
|
font-family: 'Inter', 'Microsoft YaHei', Arial, sans-serif;
|
|
line-height: 1.6;
|
|
color: var(--text-primary);
|
|
background-color: var(--bg-primary);
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
}
|
|
|
|
/* 容器样式 */
|
|
.container {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
padding: 0 1.5rem;
|
|
}
|
|
|
|
/* 导航栏样式 */
|
|
.navbar {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
background: rgba(255, 255, 255, 0.95);
|
|
backdrop-filter: blur(10px);
|
|
border-bottom: 1px solid var(--border-light);
|
|
z-index: 1000;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.nav-container {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
padding: 0 1.5rem;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
height: 70px;
|
|
}
|
|
|
|
.nav-brand {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
font-weight: 600;
|
|
color: var(--text-primary);
|
|
text-decoration: none;
|
|
}
|
|
|
|
.brand-logo {
|
|
height: 40px;
|
|
width: auto;
|
|
}
|
|
|
|
.brand-text {
|
|
font-size: 1.25rem;
|
|
font-weight: 700;
|
|
color: var(--primary-color);
|
|
}
|
|
|
|
.nav-menu {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 2rem;
|
|
}
|
|
|
|
.nav-link {
|
|
color: var(--text-secondary);
|
|
text-decoration: none;
|
|
font-weight: 500;
|
|
transition: color 0.3s ease;
|
|
position: relative;
|
|
}
|
|
|
|
.nav-link:hover,
|
|
.nav-link.active {
|
|
color: var(--primary-color);
|
|
}
|
|
|
|
.nav-link.active::after {
|
|
content: '';
|
|
position: absolute;
|
|
bottom: -8px;
|
|
left: 0;
|
|
right: 0;
|
|
height: 2px;
|
|
background: var(--primary-color);
|
|
border-radius: 1px;
|
|
}
|
|
|
|
.btn-login {
|
|
background: var(--primary-color);
|
|
color: white;
|
|
border: none;
|
|
padding: 0.75rem 1.5rem;
|
|
border-radius: var(--radius-md);
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
font-size: 0.875rem;
|
|
}
|
|
|
|
.btn-login:hover {
|
|
background: var(--primary-hover);
|
|
transform: translateY(-1px);
|
|
box-shadow: var(--shadow-md);
|
|
}
|
|
|
|
/* 按钮组件 */
|
|
.btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
padding: 0.75rem 1.5rem;
|
|
border-radius: var(--radius-md);
|
|
font-weight: 500;
|
|
text-decoration: none;
|
|
border: none;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
font-size: 0.875rem;
|
|
line-height: 1;
|
|
}
|
|
|
|
.btn-primary {
|
|
background: var(--primary-color);
|
|
color: white;
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
background: var(--primary-hover);
|
|
transform: translateY(-2px);
|
|
box-shadow: var(--shadow-lg);
|
|
}
|
|
|
|
.btn-outline {
|
|
background: transparent;
|
|
color: var(--primary-color);
|
|
border: 2px solid var(--primary-color);
|
|
}
|
|
|
|
.btn-outline:hover {
|
|
background: var(--primary-color);
|
|
color: white;
|
|
transform: translateY(-2px);
|
|
box-shadow: var(--shadow-lg);
|
|
}
|
|
|
|
.btn-large {
|
|
padding: 1rem 2rem;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
/* 主要内容区域 */
|
|
.main-content {
|
|
margin-top: 70px;
|
|
}
|
|
|
|
/* 英雄区域 */
|
|
.hero-section {
|
|
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
color: white;
|
|
padding: 6rem 0;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.hero-section::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
|
|
opacity: 0.3;
|
|
}
|
|
|
|
.hero-container {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
padding: 0 1.5rem;
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 4rem;
|
|
align-items: center;
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.hero-content {
|
|
max-width: 600px;
|
|
}
|
|
|
|
.hero-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
background: rgba(255, 255, 255, 0.2);
|
|
backdrop-filter: blur(10px);
|
|
padding: 0.5rem 1rem;
|
|
border-radius: 2rem;
|
|
font-size: 0.875rem;
|
|
font-weight: 500;
|
|
margin-bottom: 1.5rem;
|
|
border: 1px solid rgba(255, 255, 255, 0.3);
|
|
}
|
|
|
|
.hero-title {
|
|
font-size: 3.5rem;
|
|
font-weight: 700;
|
|
line-height: 1.1;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.gradient-text {
|
|
background: linear-gradient(135deg, #fbbf24, #f59e0b);
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
background-clip: text;
|
|
}
|
|
|
|
.hero-description {
|
|
font-size: 1.125rem;
|
|
line-height: 1.7;
|
|
margin-bottom: 2rem;
|
|
opacity: 0.9;
|
|
}
|
|
|
|
.hero-actions {
|
|
display: flex;
|
|
gap: 1rem;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.hero-visual {
|
|
position: relative;
|
|
height: 500px;
|
|
}
|
|
|
|
.hero-image {
|
|
position: relative;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
|
|
border-radius: var(--radius-xl);
|
|
backdrop-filter: blur(10px);
|
|
border: 1px solid rgba(255, 255, 255, 0.2);
|
|
}
|
|
|
|
.floating-card {
|
|
position: absolute;
|
|
background: white;
|
|
color: var(--text-primary);
|
|
padding: 1rem;
|
|
border-radius: var(--radius-lg);
|
|
box-shadow: var(--shadow-xl);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
font-weight: 500;
|
|
animation: float 6s ease-in-out infinite;
|
|
}
|
|
|
|
.card-icon {
|
|
font-size: 1.5rem;
|
|
}
|
|
|
|
.card-1 {
|
|
top: 10%;
|
|
left: 10%;
|
|
animation-delay: 0s;
|
|
}
|
|
|
|
.card-2 {
|
|
top: 20%;
|
|
right: 15%;
|
|
animation-delay: 1s;
|
|
}
|
|
|
|
.card-3 {
|
|
top: 50%;
|
|
left: 5%;
|
|
animation-delay: 2s;
|
|
}
|
|
|
|
.card-4 {
|
|
bottom: 30%;
|
|
right: 10%;
|
|
animation-delay: 3s;
|
|
}
|
|
|
|
.card-5 {
|
|
bottom: 10%;
|
|
left: 20%;
|
|
animation-delay: 4s;
|
|
}
|
|
|
|
@keyframes float {
|
|
0%, 100% {
|
|
transform: translateY(0px);
|
|
}
|
|
50% {
|
|
transform: translateY(-20px);
|
|
}
|
|
}
|
|
|
|
/* 区域标题样式 */
|
|
.section-header {
|
|
text-align: center;
|
|
margin-bottom: 4rem;
|
|
}
|
|
|
|
.section-title {
|
|
font-size: 2.5rem;
|
|
font-weight: 700;
|
|
color: var(--text-primary);
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.section-subtitle {
|
|
font-size: 1.125rem;
|
|
color: var(--text-secondary);
|
|
max-width: 600px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
/* 新零售概念区域 */
|
|
.concept-section {
|
|
padding: 6rem 0;
|
|
background: var(--bg-secondary);
|
|
}
|
|
|
|
.concept-content {
|
|
max-width: 800px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.concept-text {
|
|
text-align: center;
|
|
}
|
|
|
|
.concept-text p {
|
|
font-size: 1.125rem;
|
|
line-height: 1.8;
|
|
color: var(--text-secondary);
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.highlight {
|
|
color: var(--primary-color);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.concept-highlight {
|
|
background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
|
|
color: white;
|
|
padding: 1.5rem 2rem;
|
|
border-radius: var(--radius-lg);
|
|
text-align: center;
|
|
}
|
|
|
|
.highlight-text {
|
|
font-size: 1.25rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
/* 解决方案区域 */
|
|
.solutions-section {
|
|
padding: 6rem 0;
|
|
}
|
|
|
|
.solutions-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
|
|
gap: 2rem;
|
|
}
|
|
|
|
.solution-card {
|
|
background: white;
|
|
padding: 2rem;
|
|
border-radius: var(--radius-xl);
|
|
box-shadow: var(--shadow-md);
|
|
transition: all 0.3s ease;
|
|
border: 1px solid var(--border-light);
|
|
}
|
|
|
|
.solution-card:hover {
|
|
transform: translateY(-8px);
|
|
box-shadow: var(--shadow-xl);
|
|
}
|
|
|
|
.solution-icon {
|
|
font-size: 3rem;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.solution-title {
|
|
font-size: 1.5rem;
|
|
font-weight: 600;
|
|
color: var(--text-primary);
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.solution-description {
|
|
color: var(--text-secondary);
|
|
line-height: 1.6;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.solution-features {
|
|
list-style: none;
|
|
}
|
|
|
|
.solution-features li {
|
|
padding: 0.5rem 0;
|
|
color: var(--text-secondary);
|
|
position: relative;
|
|
padding-left: 1.5rem;
|
|
}
|
|
|
|
.solution-features li::before {
|
|
content: '✓';
|
|
position: absolute;
|
|
left: 0;
|
|
color: var(--success-color);
|
|
font-weight: bold;
|
|
}
|
|
|
|
/* 零售本质区域 */
|
|
.essence-section {
|
|
padding: 6rem 0;
|
|
background: var(--bg-secondary);
|
|
}
|
|
|
|
.essence-content {
|
|
max-width: 800px;
|
|
margin: 0 auto;
|
|
text-align: center;
|
|
}
|
|
|
|
.essence-text p {
|
|
font-size: 1.125rem;
|
|
line-height: 1.8;
|
|
color: var(--text-secondary);
|
|
margin-bottom: 3rem;
|
|
}
|
|
|
|
.essence-diagram {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 2rem;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.flow-item {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.flow-icon {
|
|
font-size: 3rem;
|
|
background: white;
|
|
padding: 1.5rem;
|
|
border-radius: 50%;
|
|
box-shadow: var(--shadow-lg);
|
|
}
|
|
|
|
.flow-label {
|
|
font-weight: 600;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.flow-arrow {
|
|
font-size: 2rem;
|
|
color: var(--primary-color);
|
|
font-weight: bold;
|
|
}
|
|
|
|
/* 对比分析区域 */
|
|
.comparison-section {
|
|
padding: 6rem 0;
|
|
}
|
|
|
|
.comparison-content {
|
|
display: grid;
|
|
grid-template-columns: 1fr auto 1fr;
|
|
gap: 3rem;
|
|
align-items: start;
|
|
}
|
|
|
|
.comparison-side {
|
|
background: white;
|
|
padding: 2rem;
|
|
border-radius: var(--radius-xl);
|
|
box-shadow: var(--shadow-md);
|
|
}
|
|
|
|
.traditional {
|
|
border-left: 4px solid var(--error-color);
|
|
}
|
|
|
|
.modern {
|
|
border-left: 4px solid var(--success-color);
|
|
}
|
|
|
|
.comparison-title {
|
|
font-size: 1.5rem;
|
|
font-weight: 600;
|
|
margin-bottom: 1.5rem;
|
|
text-align: center;
|
|
}
|
|
|
|
.comparison-item {
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.comparison-item h4 {
|
|
font-weight: 600;
|
|
color: var(--text-primary);
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.comparison-item p {
|
|
color: var(--text-secondary);
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.comparison-vs {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.vs-circle {
|
|
width: 80px;
|
|
height: 80px;
|
|
background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: white;
|
|
font-weight: bold;
|
|
font-size: 1.25rem;
|
|
box-shadow: var(--shadow-lg);
|
|
}
|
|
|
|
.comparison-advantages {
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
flex-wrap: wrap;
|
|
margin-top: 1rem;
|
|
}
|
|
|
|
.advantage-tag {
|
|
background: var(--success-color);
|
|
color: white;
|
|
padding: 0.25rem 0.75rem;
|
|
border-radius: 1rem;
|
|
font-size: 0.875rem;
|
|
font-weight: 500;
|
|
}
|
|
|
|
/* CTA区域 */
|
|
.cta-section {
|
|
padding: 6rem 0;
|
|
background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
|
|
color: white;
|
|
text-align: center;
|
|
}
|
|
|
|
.cta-content {
|
|
max-width: 600px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.cta-title {
|
|
font-size: 2.5rem;
|
|
font-weight: 700;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.cta-description {
|
|
font-size: 1.125rem;
|
|
margin-bottom: 2rem;
|
|
opacity: 0.9;
|
|
}
|
|
|
|
.cta-actions {
|
|
display: flex;
|
|
gap: 1rem;
|
|
justify-content: center;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.cta-actions .btn-primary {
|
|
background: white;
|
|
color: var(--primary-color);
|
|
}
|
|
|
|
.cta-actions .btn-primary:hover {
|
|
background: var(--bg-tertiary);
|
|
}
|
|
|
|
.cta-actions .btn-outline {
|
|
border-color: white;
|
|
color: white;
|
|
}
|
|
|
|
.cta-actions .btn-outline:hover {
|
|
background: white;
|
|
color: var(--primary-color);
|
|
}
|
|
|
|
/* 页脚样式 */
|
|
.footer {
|
|
background: var(--text-primary);
|
|
color: white;
|
|
padding: 3rem 0 1rem;
|
|
}
|
|
|
|
.footer-content {
|
|
display: grid;
|
|
grid-template-columns: 1fr 2fr;
|
|
gap: 3rem;
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.footer-brand {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.footer-logo {
|
|
height: 40px;
|
|
width: auto;
|
|
}
|
|
|
|
.footer-description {
|
|
color: var(--text-muted);
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.footer-links {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: 2rem;
|
|
}
|
|
|
|
.footer-column h4 {
|
|
font-weight: 600;
|
|
margin-bottom: 1rem;
|
|
color: white;
|
|
}
|
|
|
|
.footer-column a {
|
|
display: block;
|
|
color: var(--text-muted);
|
|
text-decoration: none;
|
|
margin-bottom: 0.5rem;
|
|
transition: color 0.3s ease;
|
|
}
|
|
|
|
.footer-column a:hover {
|
|
color: white;
|
|
}
|
|
|
|
.footer-bottom {
|
|
border-top: 1px solid var(--border-color);
|
|
padding-top: 1rem;
|
|
text-align: center;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
/* 响应式设计 */
|
|
@media (max-width: 1024px) {
|
|
.hero-container {
|
|
grid-template-columns: 1fr;
|
|
gap: 3rem;
|
|
text-align: center;
|
|
}
|
|
|
|
.hero-title {
|
|
font-size: 3rem;
|
|
}
|
|
|
|
.solutions-grid {
|
|
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
|
}
|
|
|
|
.comparison-content {
|
|
grid-template-columns: 1fr;
|
|
gap: 2rem;
|
|
}
|
|
|
|
.comparison-vs {
|
|
order: -1;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.nav-container {
|
|
padding: 0 1rem;
|
|
}
|
|
|
|
.nav-menu {
|
|
display: none;
|
|
}
|
|
|
|
.hero-section {
|
|
padding: 4rem 0;
|
|
}
|
|
|
|
.hero-title {
|
|
font-size: 2.5rem;
|
|
}
|
|
|
|
.section-title {
|
|
font-size: 2rem;
|
|
}
|
|
|
|
.solutions-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.essence-diagram {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.flow-arrow {
|
|
transform: rotate(90deg);
|
|
}
|
|
|
|
.footer-content {
|
|
grid-template-columns: 1fr;
|
|
gap: 2rem;
|
|
}
|
|
|
|
.footer-links {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.container {
|
|
padding: 0 1rem;
|
|
}
|
|
|
|
.hero-title {
|
|
font-size: 2rem;
|
|
}
|
|
|
|
.hero-actions {
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
|
|
.btn {
|
|
width: 100%;
|
|
justify-content: center;
|
|
}
|
|
|
|
.cta-actions {
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
|
|
.floating-card {
|
|
position: static;
|
|
margin: 1rem;
|
|
animation: none;
|
|
}
|
|
|
|
.hero-visual {
|
|
height: auto;
|
|
}
|
|
|
|
.hero-image {
|
|
padding: 2rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1rem;
|
|
}
|
|
} |