1272 lines
24 KiB
CSS
1272 lines
24 KiB
CSS
/* ============================================
|
|
PHPer 官网样式
|
|
深色开发者主题 - 绿色/青色配色
|
|
============================================ */
|
|
|
|
:root {
|
|
/* 主色调 - 绿色系 (PHP 象征) */
|
|
--color-primary: #10b981;
|
|
--color-primary-light: #34d399;
|
|
--color-primary-dark: #059669;
|
|
|
|
/* 强调色 - 青色 */
|
|
--color-accent: #06b6d4;
|
|
--color-accent-light: #22d3ee;
|
|
|
|
/* 背景色 - 深色 */
|
|
--color-bg: #0a0f1a;
|
|
--color-bg-secondary: #111827;
|
|
--color-bg-tertiary: #1f2937;
|
|
--color-bg-card: rgba(17, 24, 39, 0.8);
|
|
|
|
/* 文字色 */
|
|
--color-text: #f9fafb;
|
|
--color-text-secondary: #9ca3af;
|
|
--color-text-muted: #6b7280;
|
|
|
|
/* 边框 */
|
|
--color-border: rgba(255, 255, 255, 0.1);
|
|
--color-border-light: rgba(255, 255, 255, 0.05);
|
|
|
|
/* 状态色 */
|
|
--color-success: #10b981;
|
|
--color-warning: #f59e0b;
|
|
--color-error: #ef4444;
|
|
|
|
/* 渐变 */
|
|
--gradient-primary: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
|
|
--gradient-glow: radial-gradient(circle, var(--color-primary) 0%, transparent 70%);
|
|
|
|
/* 字体 */
|
|
--font-mono: 'JetBrains Mono', 'Consolas', monospace;
|
|
--font-sans: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
|
|
|
|
/* 尺寸 */
|
|
--header-height: 72px;
|
|
--container-width: 1200px;
|
|
--border-radius: 12px;
|
|
--border-radius-lg: 20px;
|
|
|
|
/* 动画 */
|
|
--transition-fast: 0.15s ease;
|
|
--transition-base: 0.3s ease;
|
|
--transition-slow: 0.5s ease;
|
|
}
|
|
|
|
/* ============================================
|
|
基础样式
|
|
============================================ */
|
|
|
|
*, *::before, *::after {
|
|
box-sizing: border-box;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
html {
|
|
scroll-behavior: smooth;
|
|
scroll-padding-top: var(--header-height);
|
|
}
|
|
|
|
body {
|
|
font-family: var(--font-sans);
|
|
font-size: 16px;
|
|
line-height: 1.6;
|
|
color: var(--color-text);
|
|
background-color: var(--color-bg);
|
|
overflow-x: hidden;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
}
|
|
|
|
a {
|
|
color: var(--color-primary-light);
|
|
text-decoration: none;
|
|
transition: color var(--transition-fast);
|
|
}
|
|
|
|
a:hover {
|
|
color: var(--color-primary);
|
|
}
|
|
|
|
img {
|
|
max-width: 100%;
|
|
height: auto;
|
|
}
|
|
|
|
code {
|
|
font-family: var(--font-mono);
|
|
background: var(--color-bg-tertiary);
|
|
padding: 0.2em 0.4em;
|
|
border-radius: 4px;
|
|
font-size: 0.9em;
|
|
}
|
|
|
|
/* ============================================
|
|
背景装饰
|
|
============================================ */
|
|
|
|
.bg-decoration {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: -1;
|
|
overflow: hidden;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.grid-lines {
|
|
position: absolute;
|
|
inset: 0;
|
|
background-image:
|
|
linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
|
|
linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
|
|
background-size: 60px 60px;
|
|
mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
|
|
}
|
|
|
|
.glow {
|
|
position: absolute;
|
|
border-radius: 50%;
|
|
filter: blur(100px);
|
|
opacity: 0.3;
|
|
}
|
|
|
|
.glow-1 {
|
|
width: 600px;
|
|
height: 600px;
|
|
background: var(--color-primary);
|
|
top: -200px;
|
|
right: -200px;
|
|
opacity: 0.15;
|
|
}
|
|
|
|
.glow-2 {
|
|
width: 400px;
|
|
height: 400px;
|
|
background: var(--color-accent);
|
|
bottom: 20%;
|
|
left: -100px;
|
|
opacity: 0.1;
|
|
}
|
|
|
|
.glow-3 {
|
|
width: 500px;
|
|
height: 500px;
|
|
background: var(--color-primary-dark);
|
|
bottom: -200px;
|
|
right: 20%;
|
|
opacity: 0.1;
|
|
}
|
|
|
|
/* ============================================
|
|
容器
|
|
============================================ */
|
|
|
|
.container {
|
|
width: 100%;
|
|
max-width: var(--container-width);
|
|
margin: 0 auto;
|
|
padding: 0 24px;
|
|
}
|
|
|
|
.section {
|
|
padding: 100px 0;
|
|
}
|
|
|
|
.section-header {
|
|
text-align: center;
|
|
margin-bottom: 60px;
|
|
}
|
|
|
|
.section-tag {
|
|
display: inline-block;
|
|
font-family: var(--font-mono);
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
color: var(--color-primary);
|
|
background: rgba(16, 185, 129, 0.1);
|
|
border: 1px solid rgba(16, 185, 129, 0.3);
|
|
padding: 6px 16px;
|
|
border-radius: 20px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.section-title {
|
|
font-size: clamp(32px, 5vw, 48px);
|
|
font-weight: 700;
|
|
line-height: 1.2;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.section-desc {
|
|
font-size: 18px;
|
|
color: var(--color-text-secondary);
|
|
max-width: 600px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.gradient-text {
|
|
background: var(--gradient-primary);
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
background-clip: text;
|
|
}
|
|
|
|
/* ============================================
|
|
导航栏
|
|
============================================ */
|
|
|
|
.navbar {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
height: var(--header-height);
|
|
z-index: 1000;
|
|
background: rgba(10, 15, 26, 0.8);
|
|
backdrop-filter: blur(20px);
|
|
border-bottom: 1px solid var(--color-border);
|
|
}
|
|
|
|
.navbar .container {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
height: 100%;
|
|
}
|
|
|
|
.logo {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
font-size: 24px;
|
|
font-weight: 700;
|
|
color: var(--color-text);
|
|
}
|
|
|
|
.logo:hover {
|
|
color: var(--color-text);
|
|
}
|
|
|
|
.logo-icon {
|
|
width: 32px;
|
|
height: 32px;
|
|
border-radius: 6px;
|
|
}
|
|
|
|
.logo-text {
|
|
font-family: var(--font-mono);
|
|
}
|
|
|
|
.nav-links {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 32px;
|
|
}
|
|
|
|
.nav-links a {
|
|
font-size: 15px;
|
|
font-weight: 500;
|
|
color: var(--color-text-secondary);
|
|
transition: color var(--transition-fast);
|
|
}
|
|
|
|
.nav-links a:hover {
|
|
color: var(--color-text);
|
|
}
|
|
|
|
.mobile-menu-btn {
|
|
display: none;
|
|
flex-direction: column;
|
|
gap: 5px;
|
|
padding: 8px;
|
|
background: none;
|
|
border: none;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.mobile-menu-btn span {
|
|
display: block;
|
|
width: 24px;
|
|
height: 2px;
|
|
background: var(--color-text);
|
|
transition: var(--transition-fast);
|
|
}
|
|
|
|
/* 移动端导航菜单 */
|
|
@media (max-width: 768px) {
|
|
.nav-links {
|
|
position: fixed;
|
|
top: var(--header-height);
|
|
left: 0;
|
|
right: 0;
|
|
background: var(--color-bg-secondary);
|
|
flex-direction: column;
|
|
padding: 24px;
|
|
gap: 16px;
|
|
border-bottom: 1px solid var(--color-border);
|
|
transform: translateY(-100%);
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
transition: all var(--transition-base);
|
|
}
|
|
|
|
.nav-links.mobile-open {
|
|
display: flex;
|
|
transform: translateY(0);
|
|
opacity: 1;
|
|
pointer-events: all;
|
|
}
|
|
|
|
.mobile-menu-btn.active span:nth-child(1) {
|
|
transform: rotate(45deg) translate(5px, 5px);
|
|
}
|
|
|
|
.mobile-menu-btn.active span:nth-child(2) {
|
|
opacity: 0;
|
|
}
|
|
|
|
.mobile-menu-btn.active span:nth-child(3) {
|
|
transform: rotate(-45deg) translate(5px, -5px);
|
|
}
|
|
}
|
|
|
|
/* ============================================
|
|
按钮
|
|
============================================ */
|
|
|
|
.btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
font-family: var(--font-sans);
|
|
font-size: 15px;
|
|
font-weight: 600;
|
|
padding: 12px 24px;
|
|
border-radius: 10px;
|
|
border: none;
|
|
cursor: pointer;
|
|
transition: all var(--transition-fast);
|
|
text-decoration: none;
|
|
}
|
|
|
|
.btn .icon {
|
|
width: 18px;
|
|
height: 18px;
|
|
}
|
|
|
|
.btn-sm {
|
|
padding: 8px 16px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.btn-lg {
|
|
padding: 16px 32px;
|
|
font-size: 16px;
|
|
}
|
|
|
|
.btn-primary {
|
|
background: var(--gradient-primary);
|
|
color: white;
|
|
box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 6px 30px rgba(16, 185, 129, 0.4);
|
|
color: white;
|
|
}
|
|
|
|
.btn-outline {
|
|
background: transparent;
|
|
color: var(--color-text);
|
|
border: 1px solid var(--color-border);
|
|
}
|
|
|
|
.btn-outline:hover {
|
|
background: var(--color-bg-tertiary);
|
|
border-color: var(--color-primary);
|
|
color: var(--color-text);
|
|
}
|
|
|
|
.btn-ghost {
|
|
background: rgba(255, 255, 255, 0.05);
|
|
color: var(--color-text);
|
|
border: 1px solid var(--color-border);
|
|
}
|
|
|
|
.btn-ghost:hover {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
color: var(--color-text);
|
|
}
|
|
|
|
/* ============================================
|
|
Hero 区域
|
|
============================================ */
|
|
|
|
.hero {
|
|
min-height: 100vh;
|
|
display: flex;
|
|
align-items: center;
|
|
padding-top: var(--header-height);
|
|
position: relative;
|
|
}
|
|
|
|
.hero .container {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 60px;
|
|
align-items: center;
|
|
}
|
|
|
|
.hero-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
font-family: var(--font-mono);
|
|
font-size: 14px;
|
|
color: var(--color-primary);
|
|
background: rgba(16, 185, 129, 0.1);
|
|
border: 1px solid rgba(16, 185, 129, 0.2);
|
|
padding: 8px 16px;
|
|
border-radius: 24px;
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
.badge-dot {
|
|
width: 8px;
|
|
height: 8px;
|
|
background: var(--color-primary);
|
|
border-radius: 50%;
|
|
animation: pulse 2s infinite;
|
|
}
|
|
|
|
@keyframes pulse {
|
|
0%, 100% { opacity: 1; }
|
|
50% { opacity: 0.5; }
|
|
}
|
|
|
|
.hero-title {
|
|
font-size: clamp(40px, 6vw, 64px);
|
|
font-weight: 700;
|
|
line-height: 1.1;
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
.title-line {
|
|
display: block;
|
|
}
|
|
|
|
.hero-description {
|
|
font-size: 18px;
|
|
color: var(--color-text-secondary);
|
|
margin-bottom: 32px;
|
|
line-height: 1.8;
|
|
}
|
|
|
|
.hero-description .highlight {
|
|
color: var(--color-primary-light);
|
|
font-weight: 500;
|
|
}
|
|
|
|
.hero-actions {
|
|
display: flex;
|
|
gap: 16px;
|
|
margin-bottom: 48px;
|
|
}
|
|
|
|
.hero-stats {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 32px;
|
|
}
|
|
|
|
.stat {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.stat-value {
|
|
font-family: var(--font-mono);
|
|
font-size: 28px;
|
|
font-weight: 700;
|
|
color: var(--color-text);
|
|
}
|
|
|
|
.stat-label {
|
|
font-size: 14px;
|
|
color: var(--color-text-muted);
|
|
}
|
|
|
|
.stat-divider {
|
|
width: 1px;
|
|
height: 40px;
|
|
background: var(--color-border);
|
|
}
|
|
|
|
/* Hero Visual - Terminal */
|
|
.hero-visual {
|
|
position: relative;
|
|
}
|
|
|
|
.terminal-window {
|
|
background: var(--color-bg-secondary);
|
|
border-radius: var(--border-radius-lg);
|
|
border: 1px solid var(--color-border);
|
|
overflow: hidden;
|
|
box-shadow:
|
|
0 25px 50px -12px rgba(0, 0, 0, 0.5),
|
|
0 0 0 1px rgba(255, 255, 255, 0.05);
|
|
}
|
|
|
|
.terminal-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
padding: 16px 20px;
|
|
background: var(--color-bg-tertiary);
|
|
border-bottom: 1px solid var(--color-border);
|
|
}
|
|
|
|
.terminal-buttons {
|
|
display: flex;
|
|
gap: 8px;
|
|
}
|
|
|
|
.terminal-buttons span {
|
|
width: 12px;
|
|
height: 12px;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.btn-close { background: #ef4444; }
|
|
.btn-minimize { background: #f59e0b; }
|
|
.btn-maximize { background: #10b981; }
|
|
|
|
.terminal-title {
|
|
flex: 1;
|
|
text-align: center;
|
|
font-family: var(--font-mono);
|
|
font-size: 13px;
|
|
color: var(--color-text-muted);
|
|
}
|
|
|
|
.terminal-body {
|
|
padding: 20px;
|
|
font-family: var(--font-mono);
|
|
font-size: 14px;
|
|
}
|
|
|
|
.service-row {
|
|
display: grid;
|
|
grid-template-columns: 32px 1fr auto auto;
|
|
gap: 12px;
|
|
align-items: center;
|
|
padding: 12px 0;
|
|
border-bottom: 1px solid var(--color-border-light);
|
|
}
|
|
|
|
.service-row:last-of-type {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.service-icon {
|
|
font-size: 20px;
|
|
}
|
|
|
|
.service-name {
|
|
color: var(--color-text);
|
|
}
|
|
|
|
.service-status {
|
|
font-size: 12px;
|
|
padding: 4px 12px;
|
|
border-radius: 12px;
|
|
}
|
|
|
|
.service-status.running {
|
|
color: var(--color-success);
|
|
background: rgba(16, 185, 129, 0.1);
|
|
}
|
|
|
|
.service-status.stopped {
|
|
color: var(--color-text-muted);
|
|
background: rgba(107, 114, 128, 0.1);
|
|
}
|
|
|
|
.service-port {
|
|
color: var(--color-text-muted);
|
|
font-size: 13px;
|
|
}
|
|
|
|
.terminal-prompt {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
margin-top: 16px;
|
|
padding-top: 16px;
|
|
border-top: 1px solid var(--color-border-light);
|
|
}
|
|
|
|
.prompt-symbol {
|
|
color: var(--color-primary);
|
|
}
|
|
|
|
.prompt-text {
|
|
color: var(--color-text-secondary);
|
|
}
|
|
|
|
.cursor {
|
|
width: 8px;
|
|
height: 18px;
|
|
background: var(--color-primary);
|
|
animation: blink 1s infinite;
|
|
}
|
|
|
|
@keyframes blink {
|
|
0%, 50% { opacity: 1; }
|
|
51%, 100% { opacity: 0; }
|
|
}
|
|
|
|
/* ============================================
|
|
功能特性
|
|
============================================ */
|
|
|
|
.features {
|
|
background: var(--color-bg-secondary);
|
|
}
|
|
|
|
.features-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: 24px;
|
|
}
|
|
|
|
.feature-card {
|
|
background: var(--color-bg-card);
|
|
border: 1px solid var(--color-border);
|
|
border-radius: var(--border-radius);
|
|
padding: 32px;
|
|
transition: all var(--transition-base);
|
|
}
|
|
|
|
.feature-card:hover {
|
|
border-color: var(--color-primary);
|
|
transform: translateY(-4px);
|
|
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
.feature-card.feature-highlight {
|
|
grid-column: span 1;
|
|
grid-row: span 2;
|
|
background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(6, 182, 212, 0.05) 100%);
|
|
border-color: rgba(16, 185, 129, 0.3);
|
|
}
|
|
|
|
.feature-icon {
|
|
font-size: 40px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.feature-card h3 {
|
|
font-size: 20px;
|
|
font-weight: 600;
|
|
margin-bottom: 12px;
|
|
color: var(--color-text);
|
|
}
|
|
|
|
.feature-card p {
|
|
color: var(--color-text-secondary);
|
|
font-size: 15px;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.feature-list {
|
|
list-style: none;
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.feature-list li {
|
|
position: relative;
|
|
padding-left: 20px;
|
|
margin-bottom: 10px;
|
|
color: var(--color-text-secondary);
|
|
font-size: 14px;
|
|
}
|
|
|
|
.feature-list li::before {
|
|
content: '✓';
|
|
position: absolute;
|
|
left: 0;
|
|
color: var(--color-primary);
|
|
}
|
|
|
|
/* ============================================
|
|
截图展示
|
|
============================================ */
|
|
|
|
.screenshots {
|
|
background: var(--color-bg);
|
|
}
|
|
|
|
.screenshot-tabs {
|
|
display: flex;
|
|
justify-content: center;
|
|
flex-wrap: wrap;
|
|
gap: 12px;
|
|
margin-bottom: 40px;
|
|
}
|
|
|
|
.tab-btn {
|
|
font-family: var(--font-sans);
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
color: var(--color-text-secondary);
|
|
background: var(--color-bg-secondary);
|
|
border: 1px solid var(--color-border);
|
|
padding: 10px 20px;
|
|
border-radius: 8px;
|
|
cursor: pointer;
|
|
transition: all var(--transition-fast);
|
|
}
|
|
|
|
.tab-btn:hover {
|
|
color: var(--color-text);
|
|
border-color: var(--color-primary);
|
|
}
|
|
|
|
.tab-btn.active {
|
|
color: var(--color-primary);
|
|
background: rgba(16, 185, 129, 0.1);
|
|
border-color: var(--color-primary);
|
|
}
|
|
|
|
.screenshot-container {
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
|
|
.screenshot-frame {
|
|
width: 100%;
|
|
max-width: 1000px;
|
|
background: var(--color-bg-secondary);
|
|
border-radius: var(--border-radius-lg);
|
|
border: 1px solid var(--color-border);
|
|
overflow: hidden;
|
|
box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
|
|
}
|
|
|
|
.screenshot-window-bar {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
padding: 14px 20px;
|
|
background: var(--color-bg-tertiary);
|
|
border-bottom: 1px solid var(--color-border);
|
|
}
|
|
|
|
.window-buttons {
|
|
display: flex;
|
|
gap: 8px;
|
|
}
|
|
|
|
.window-buttons span {
|
|
width: 12px;
|
|
height: 12px;
|
|
border-radius: 50%;
|
|
background: var(--color-text-muted);
|
|
}
|
|
|
|
.window-buttons span:nth-child(1) { background: #ef4444; }
|
|
.window-buttons span:nth-child(2) { background: #f59e0b; }
|
|
.window-buttons span:nth-child(3) { background: #10b981; }
|
|
|
|
.window-title {
|
|
flex: 1;
|
|
text-align: center;
|
|
font-family: var(--font-mono);
|
|
font-size: 13px;
|
|
color: var(--color-text-muted);
|
|
}
|
|
|
|
.screenshot-wrapper {
|
|
position: relative;
|
|
aspect-ratio: 16/10;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.screenshot-img {
|
|
position: absolute;
|
|
inset: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
opacity: 0;
|
|
transition: opacity var(--transition-base);
|
|
}
|
|
|
|
.screenshot-img.active {
|
|
opacity: 1;
|
|
}
|
|
|
|
/* ============================================
|
|
更多功能
|
|
============================================ */
|
|
|
|
.more-features {
|
|
background: var(--color-bg-secondary);
|
|
padding: 60px 0;
|
|
}
|
|
|
|
.features-banner {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, 1fr);
|
|
gap: 24px;
|
|
}
|
|
|
|
.banner-content {
|
|
text-align: center;
|
|
padding: 24px;
|
|
}
|
|
|
|
.banner-content h3 {
|
|
font-size: 18px;
|
|
margin-bottom: 12px;
|
|
color: var(--color-text);
|
|
}
|
|
|
|
.banner-content p {
|
|
font-size: 14px;
|
|
color: var(--color-text-secondary);
|
|
line-height: 1.6;
|
|
}
|
|
|
|
/* ============================================
|
|
服务表格
|
|
============================================ */
|
|
|
|
.services {
|
|
background: var(--color-bg);
|
|
}
|
|
|
|
.services-table {
|
|
max-width: 800px;
|
|
margin: 0 auto;
|
|
background: var(--color-bg-secondary);
|
|
border-radius: var(--border-radius);
|
|
border: 1px solid var(--color-border);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.table-row {
|
|
display: grid;
|
|
grid-template-columns: 180px 1fr 1fr;
|
|
gap: 20px;
|
|
padding: 16px 24px;
|
|
border-bottom: 1px solid var(--color-border-light);
|
|
align-items: center;
|
|
}
|
|
|
|
.table-row:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.table-row.table-header {
|
|
background: var(--color-bg-tertiary);
|
|
font-weight: 600;
|
|
font-size: 14px;
|
|
color: var(--color-text-muted);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.table-row .service-name {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.table-row .emoji {
|
|
font-size: 20px;
|
|
}
|
|
|
|
.table-row .source a {
|
|
color: var(--color-primary-light);
|
|
}
|
|
|
|
.table-row .desc {
|
|
color: var(--color-text-muted);
|
|
font-size: 14px;
|
|
}
|
|
|
|
/* ============================================
|
|
FAQ
|
|
============================================ */
|
|
|
|
.faq {
|
|
background: var(--color-bg-secondary);
|
|
}
|
|
|
|
.faq-list {
|
|
max-width: 800px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.faq-item {
|
|
background: var(--color-bg-card);
|
|
border: 1px solid var(--color-border);
|
|
border-radius: var(--border-radius);
|
|
margin-bottom: 16px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.faq-question {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
width: 100%;
|
|
padding: 20px 24px;
|
|
background: none;
|
|
border: none;
|
|
font-family: var(--font-sans);
|
|
font-size: 16px;
|
|
font-weight: 500;
|
|
color: var(--color-text);
|
|
text-align: left;
|
|
cursor: pointer;
|
|
transition: var(--transition-fast);
|
|
}
|
|
|
|
.faq-question:hover {
|
|
color: var(--color-primary);
|
|
}
|
|
|
|
.faq-icon {
|
|
width: 20px;
|
|
height: 20px;
|
|
color: var(--color-text-muted);
|
|
transition: transform var(--transition-fast);
|
|
}
|
|
|
|
.faq-item.active .faq-icon {
|
|
transform: rotate(180deg);
|
|
}
|
|
|
|
.faq-answer {
|
|
display: none;
|
|
padding: 0 24px 20px;
|
|
color: var(--color-text-secondary);
|
|
font-size: 15px;
|
|
line-height: 1.7;
|
|
}
|
|
|
|
.faq-item.active .faq-answer {
|
|
display: block;
|
|
}
|
|
|
|
.faq-answer ul {
|
|
margin-top: 12px;
|
|
padding-left: 20px;
|
|
}
|
|
|
|
.faq-answer li {
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
/* ============================================
|
|
技术栈
|
|
============================================ */
|
|
|
|
.tech-stack {
|
|
background: var(--color-bg);
|
|
padding: 60px 0;
|
|
}
|
|
|
|
.tech-content {
|
|
text-align: center;
|
|
}
|
|
|
|
.tech-content h3 {
|
|
font-size: 20px;
|
|
margin-bottom: 24px;
|
|
color: var(--color-text);
|
|
}
|
|
|
|
.tech-tags {
|
|
display: flex;
|
|
justify-content: center;
|
|
flex-wrap: wrap;
|
|
gap: 12px;
|
|
}
|
|
|
|
.tech-tag {
|
|
font-family: var(--font-mono);
|
|
font-size: 14px;
|
|
color: var(--color-text-secondary);
|
|
background: var(--color-bg-secondary);
|
|
border: 1px solid var(--color-border);
|
|
padding: 8px 16px;
|
|
border-radius: 6px;
|
|
}
|
|
|
|
/* ============================================
|
|
CTA 区域
|
|
============================================ */
|
|
|
|
.cta {
|
|
background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(6, 182, 212, 0.05) 100%);
|
|
border-top: 1px solid rgba(16, 185, 129, 0.2);
|
|
border-bottom: 1px solid rgba(16, 185, 129, 0.2);
|
|
}
|
|
|
|
.cta-content {
|
|
text-align: center;
|
|
}
|
|
|
|
.cta-content h2 {
|
|
font-size: clamp(28px, 4vw, 40px);
|
|
font-weight: 700;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.cta-content p {
|
|
font-size: 18px;
|
|
color: var(--color-text-secondary);
|
|
margin-bottom: 32px;
|
|
}
|
|
|
|
.cta-actions {
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: 16px;
|
|
}
|
|
|
|
/* ============================================
|
|
页脚
|
|
============================================ */
|
|
|
|
.footer {
|
|
background: var(--color-bg);
|
|
padding: 60px 0 40px;
|
|
border-top: 1px solid var(--color-border);
|
|
}
|
|
|
|
.footer-content {
|
|
text-align: center;
|
|
}
|
|
|
|
.footer-brand {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
font-size: 24px;
|
|
font-weight: 700;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.footer-text {
|
|
color: var(--color-text-secondary);
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
.footer-links {
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: 32px;
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
.footer-links a {
|
|
color: var(--color-text-muted);
|
|
font-size: 14px;
|
|
}
|
|
|
|
.footer-links a:hover {
|
|
color: var(--color-primary);
|
|
}
|
|
|
|
.copyright {
|
|
font-size: 14px;
|
|
color: var(--color-text-muted);
|
|
}
|
|
|
|
/* ============================================
|
|
响应式设计
|
|
============================================ */
|
|
|
|
@media (max-width: 1024px) {
|
|
.hero .container {
|
|
grid-template-columns: 1fr;
|
|
text-align: center;
|
|
}
|
|
|
|
.hero-content {
|
|
order: 1;
|
|
}
|
|
|
|
.hero-visual {
|
|
order: 2;
|
|
max-width: 600px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.hero-actions {
|
|
justify-content: center;
|
|
}
|
|
|
|
.hero-stats {
|
|
justify-content: center;
|
|
}
|
|
|
|
.features-grid {
|
|
grid-template-columns: repeat(2, 1fr);
|
|
}
|
|
|
|
.feature-card.feature-highlight {
|
|
grid-column: span 2;
|
|
grid-row: span 1;
|
|
}
|
|
|
|
.features-banner {
|
|
grid-template-columns: repeat(2, 1fr);
|
|
}
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.nav-links {
|
|
display: none;
|
|
}
|
|
|
|
.mobile-menu-btn {
|
|
display: flex;
|
|
}
|
|
|
|
.section {
|
|
padding: 60px 0;
|
|
}
|
|
|
|
.hero {
|
|
min-height: auto;
|
|
padding: 120px 0 60px;
|
|
}
|
|
|
|
.hero-description br {
|
|
display: none;
|
|
}
|
|
|
|
.hero-actions {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.hero-stats {
|
|
flex-wrap: wrap;
|
|
gap: 24px;
|
|
}
|
|
|
|
.stat-divider {
|
|
display: none;
|
|
}
|
|
|
|
.features-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.feature-card.feature-highlight {
|
|
grid-column: span 1;
|
|
}
|
|
|
|
.screenshot-tabs {
|
|
gap: 8px;
|
|
}
|
|
|
|
.tab-btn {
|
|
padding: 8px 12px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.features-banner {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.table-row {
|
|
grid-template-columns: 1fr;
|
|
gap: 8px;
|
|
}
|
|
|
|
.table-row.table-header {
|
|
display: none;
|
|
}
|
|
|
|
.cta-actions {
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
|
|
.footer-links {
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
}
|
|
}
|
|
|
|
/* ============================================
|
|
动画
|
|
============================================ */
|
|
|
|
@keyframes fadeInUp {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(20px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
.hero-badge,
|
|
.hero-title,
|
|
.hero-description,
|
|
.hero-actions,
|
|
.hero-stats {
|
|
animation: fadeInUp 0.6s ease-out backwards;
|
|
}
|
|
|
|
.hero-badge { animation-delay: 0.1s; }
|
|
.hero-title { animation-delay: 0.2s; }
|
|
.hero-description { animation-delay: 0.3s; }
|
|
.hero-actions { animation-delay: 0.4s; }
|
|
.hero-stats { animation-delay: 0.5s; }
|
|
|
|
.terminal-window {
|
|
animation: fadeInUp 0.8s ease-out 0.3s backwards;
|
|
}
|
|
|
|
.service-row {
|
|
animation: fadeInUp 0.4s ease-out backwards;
|
|
}
|
|
|
|
.service-row:nth-child(1) { animation-delay: 0.5s; }
|
|
.service-row:nth-child(2) { animation-delay: 0.6s; }
|
|
.service-row:nth-child(3) { animation-delay: 0.7s; }
|
|
.service-row:nth-child(4) { animation-delay: 0.8s; }
|
|
.service-row:nth-child(5) { animation-delay: 0.9s; }
|
|
|
|
/* 滚动动画 */
|
|
.feature-card,
|
|
.faq-item,
|
|
.table-row:not(.table-header) {
|
|
opacity: 0;
|
|
transform: translateY(20px);
|
|
transition: opacity 0.5s ease, transform 0.5s ease;
|
|
}
|
|
|
|
.feature-card.visible,
|
|
.faq-item.visible,
|
|
.table-row.visible {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
|