/* ==================== 全局样式 ==================== */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
:root {
/* 简洁白色配色系统 */
--primary: #000000;
--primary-soft: #1a1a1a;
--accent: #0066FF;
--accent-hover: #0052CC;
--bg-white: #FFFFFF;
--bg-cream: #FAFAF9;
--bg-light: #F5F5F4;
--text-primary: #0a0a0a;
--text-secondary: #525252;
--text-muted: #a3a3a3;
--border-light: #e7e7e5;
--border-medium: #d4d4d2;
/* 字体系统 */
--font-display: 'Playfair Display', 'Noto Sans SC', serif;
--font-body: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
/* 阴影 */
--shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
--shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
--shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
}
html {
scroll-behavior: smooth;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-rendering: optimizeLegibility;
}
body {
font-family: var(--font-body);
background: var(--bg-white);
color: var(--text-primary);
overflow-x: hidden;
line-height: 1.7;
font-size: 16px;
letter-spacing: -0.01em;
}
/* ==================== 背景层 ==================== */
.bg-container {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -1;
overflow: hidden;
background: linear-gradient(180deg, #FFFFFF 0%, #FAFAF9 100%);
}
.grid-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-image:
linear-gradient(rgba(0, 0, 0, 0.02) 1px, transparent 1px),
linear-gradient(90deg, rgba(0, 0, 0, 0.02) 1px, transparent 1px);
background-size: 80px 80px;
opacity: 0.5;
}
.gradient-orb {
position: absolute;
border-radius: 50%;
filter: blur(120px);
opacity: 0.15;
animation: float 25s ease-in-out infinite;
}
.orb-1 {
width: 600px;
height: 600px;
background: radial-gradient(circle, #0066FF 0%, transparent 70%);
top: -300px;
right: -200px;
animation-delay: 0s;
}
.orb-2 {
width: 500px;
height: 500px;
background: radial-gradient(circle, #000000 0%, transparent 70%);
bottom: -200px;
left: -150px;
animation-delay: -10s;
}
.orb-3 {
width: 400px;
height: 400px;
background: radial-gradient(circle, #0066FF 0%, transparent 70%);
top: 50%;
left: 50%;
animation-delay: -20s;
}
@keyframes float {
0%, 100% { transform: translate(0, 0) scale(1); }
33% { transform: translate(30px, -30px) scale(1.05); }
66% { transform: translate(-30px, 30px) scale(0.95); }
}
#particles {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
opacity: 0.3;
}
/* ==================== Hero区域 ==================== */
.hero {
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
max-width: 1400px;
margin: 0 auto;
padding: 6rem 3rem 4rem;
gap: 6rem;
}
.hero-content {
flex: 1;
max-width: 600px;
}
.hero-badge {
display: inline-flex;
align-items: center;
gap: 0.6rem;
padding: 0.5rem 1.2rem;
background: var(--bg-white);
border: 1px solid var(--border-light);
border-radius: 100px;
font-size: 0.875rem;
color: var(--text-secondary);
margin-bottom: 2.5rem;
font-weight: 500;
letter-spacing: -0.01em;
box-shadow: var(--shadow-sm);
animation: fadeInUp 0.8s ease-out;
}
.badge-dot {
width: 6px;
height: 6px;
background: var(--accent);
border-radius: 50%;
animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
0%, 100% { opacity: 1; transform: scale(1); }
50% { opacity: 0.6; transform: scale(1.2); }
}
.hero-title {
font-family: var(--font-display);
font-size: clamp(3rem, 8vw, 5.5rem);
font-weight: 700;
line-height: 1.1;
margin-bottom: 1.5rem;
color: var(--primary);
letter-spacing: -0.03em;
animation: fadeInUp 0.8s ease-out 0.2s backwards;
}
.title-line {
display: block;
}
.gradient-text {
background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.hero-description {
font-size: 1.125rem;
color: var(--text-secondary);
margin-bottom: 2.5rem;
line-height: 1.8;
font-weight: 400;
letter-spacing: -0.01em;
animation: fadeInUp 0.8s ease-out 0.4s backwards;
}
.hero-actions {
display: flex;
gap: 1rem;
margin-bottom: 3.5rem;
animation: fadeInUp 0.8s ease-out 0.6s backwards;
}
.btn-hero {
display: flex;
align-items: center;
gap: 0.5rem;
padding: 1rem 2rem;
background: var(--primary);
border: none;
border-radius: 12px;
color: var(--bg-white);
font-size: 1rem;
font-weight: 600;
cursor: pointer;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
box-shadow: var(--shadow-md);
letter-spacing: -0.01em;
font-family: var(--font-body);
text-decoration: none;
}
.btn-hero:hover {
transform: translateY(-2px);
box-shadow: var(--shadow-lg);
background: var(--primary-soft);
}
.btn-secondary {
display: flex;
align-items: center;
gap: 0.5rem;
padding: 1rem 2rem;
background: var(--bg-white);
border: 1.5px solid var(--border-medium);
border-radius: 12px;
color: var(--text-primary);
font-size: 1rem;
font-weight: 600;
cursor: pointer;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
letter-spacing: -0.01em;
font-family: var(--font-body);
text-decoration: none;
}
.btn-secondary:hover {
background: var(--bg-light);
border-color: var(--primary);
transform: translateY(-2px);
}
.hero-stats {
display: flex;
gap: 3rem;
padding: 2rem 0;
border-top: 1px solid var(--border-light);
animation: fadeInUp 0.8s ease-out 0.8s backwards;
}
.stat-item {
flex: 1;
}
.stat-value {
font-family: var(--font-display);
font-size: 2.5rem;
font-weight: 700;
color: var(--primary);
margin-bottom: 0.3rem;
letter-spacing: -0.02em;
}
.stat-label {
font-size: 0.875rem;
color: var(--text-muted);
font-weight: 500;
letter-spacing: -0.01em;
}
.stat-divider {
width: 1px;
background: var(--border-light);
}
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* ==================== 下滑提示角标 ==================== */
.scroll-indicator {
position: absolute;
bottom: 3rem;
left: 50%;
transform: translateX(-50%);
display: flex;
flex-direction: column;
align-items: center;
gap: 0.5rem;
animation: fadeInUp 1s ease-out 1.5s backwards;
cursor: pointer;
transition: all 0.3s ease;
}
.scroll-indicator:hover {
transform: translateX(-50%) translateY(-5px);
}
.scroll-text {
font-size: 0.875rem;
color: var(--text-muted);
font-weight: 500;
letter-spacing: -0.01em;
}
.scroll-arrow {
width: 40px;
height: 40px;
display: flex;
align-items: center;
justify-content: center;
border: 1.5px solid var(--border-medium);
border-radius: 50%;
color: var(--text-secondary);
animation: bounce 2s ease-in-out infinite;
transition: all 0.3s ease;
}
.scroll-indicator:hover .scroll-arrow {
border-color: var(--primary);
color: var(--primary);
background: var(--bg-light);
}
@keyframes bounce {
0%, 100% {
transform: translateY(0);
}
50% {
transform: translateY(8px);
}
}
/* 隐藏滚动后的角标 */
.scroll-indicator.hidden {
opacity: 0;
pointer-events: none;
}
/* ==================== Hero Visual ==================== */
.hero-visual {
flex: 1;
animation: fadeInRight 1s ease-out 0.4s backwards;
}
@keyframes fadeInRight {
from {
opacity: 0;
transform: translateX(30px);
}
to {
opacity: 1;
transform: translateX(0);
}
}
.terminal-window {
background: var(--bg-white);
border: 1px solid var(--border-light);
border-radius: 16px;
overflow: hidden;
box-shadow: var(--shadow-lg);
}
.terminal-header {
display: flex;
align-items: center;
gap: 1rem;
padding: 1rem 1.5rem;
background: var(--bg-cream);
border-bottom: 1px solid var(--border-light);
}
.terminal-dots {
display: flex;
gap: 0.5rem;
}
.terminal-dots span {
width: 12px;
height: 12px;
border-radius: 50%;
background: var(--border-medium);
}
.terminal-dots span:nth-child(1) { background: #FF5F56; }
.terminal-dots span:nth-child(2) { background: #FFBD2E; }
.terminal-dots span:nth-child(3) { background: #27C93F; }
.terminal-title {
font-family: 'SF Mono', 'Monaco', 'Courier New', monospace;
font-size: 0.875rem;
color: var(--text-secondary);
font-weight: 500;
letter-spacing: -0.01em;
}
.terminal-body {
padding: 2rem;
font-family: 'SF Mono', 'Monaco', 'Courier New', monospace;
font-size: 0.875rem;
line-height: 1.8;
overflow-x: auto;
background: var(--bg-white);
}
.terminal-body pre {
margin: 0;
}
.terminal-body code {
color: var(--text-primary);
font-weight: 400;
}
.code-keyword { color: #D73A49; font-weight: 600; }
.code-module { color: #0066FF; }
.code-function { color: #6F42C1; }
.code-string { color: #22863A; }
.code-variable { color: #E36209; }
/* ==================== 特性区域 ==================== */
.features {
padding: 8rem 3rem;
max-width: 1400px;
margin: 0 auto;
opacity: 0;
transform: translateY(50px);
transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}
.features.visible {
opacity: 1;
transform: translateY(0);
}
.section-header {
text-align: center;
margin-bottom: 5rem;
}
.section-title {
font-family: var(--font-display);
font-size: clamp(2.5rem, 5vw, 4rem);
font-weight: 700;
margin-bottom: 1rem;
color: var(--primary);
letter-spacing: -0.03em;
}
.section-subtitle {
font-size: 1.125rem;
color: var(--text-secondary);
font-weight: 400;
letter-spacing: -0.01em;
}
.features-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
gap: 2rem;
}
.feature-card {
padding: 3rem;
background: var(--bg-white);
border: 1px solid var(--border-light);
border-radius: 20px;
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
position: relative;
}
.feature-card::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
opacity: 0;
transition: opacity 0.4s ease;
border-radius: 20px;
z-index: -1;
}
.feature-card:hover {
transform: translateY(-8px);
box-shadow: var(--shadow-lg);
border-color: var(--accent);
}
.feature-card:hover::before {
opacity: 0.03;
}
.feature-icon {
width: 56px;
height: 56px;
display: flex;
align-items: center;
justify-content: center;
background: var(--bg-cream);
border: 1px solid var(--border-light);
border-radius: 14px;
margin-bottom: 1.5rem;
color: var(--primary);
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
font-size: 1.5rem;
}
.feature-card:hover .feature-icon {
background: var(--primary);
color: var(--bg-white);
transform: scale(1.05);
border-color: var(--primary);
}
.feature-title {
font-family: var(--font-display);
font-size: 1.5rem;
font-weight: 600;
margin-bottom: 1rem;
color: var(--text-primary);
letter-spacing: -0.02em;
}
.feature-description {
color: var(--text-secondary);
line-height: 1.7;
font-weight: 400;
letter-spacing: -0.01em;
}
/* ==================== 响应式设计 ==================== */
@media (max-width: 1024px) {
.hero {
flex-direction: column;
text-align: center;
padding-top: 4rem;
gap: 4rem;
}
.hero-content {
max-width: 100%;
}
.hero-actions {
justify-content: center;
}
.hero-stats {
justify-content: center;
}
}
@media (max-width: 768px) {
.hero-title {
font-size: 2.5rem;
}
.section-title {
font-size: 2rem;
}
.features-grid {
grid-template-columns: 1fr;
}
.hero-actions {
flex-direction: column;
}
.hero-stats {
flex-direction: column;
gap: 2rem;
}
.stat-divider {
display: none;
}
.features {
padding: 4rem 1.5rem;
}
.hero {
padding: 3rem 1.5rem 2rem;
}
}
/* ==================== 字体优化 ==================== */
@media screen and (-webkit-min-device-pixel-ratio: 2),
screen and (min-resolution: 192dpi) {
body {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
}
/* 确保中文字体渲染清晰 */
:lang(zh-CN) {
font-family: var(--font-body);
text-rendering: optimizeLegibility;
}
