/* ============================================ DevTools 官网样式 支持主页、PHPer、EasyShell 三种风格 ============================================ */ :root { /* 通用色调 */ --color-bg: #080c14; --color-bg-secondary: #0d1320; --color-bg-tertiary: #151c2c; --color-bg-card: rgba(13, 19, 32, 0.8); /* 文字色 */ --color-text: #f0f4f8; --color-text-secondary: #94a3b8; --color-text-muted: #64748b; /* 边框 */ --color-border: rgba(255, 255, 255, 0.08); --color-border-light: rgba(255, 255, 255, 0.04); /* PHPer 主色 - 绿色系 */ --color-green: #10b981; --color-green-light: #34d399; --color-green-dark: #059669; --color-cyan: #06b6d4; /* EasyShell 主色 - 赛博朋克 */ --color-cyber-cyan: #00d4ff; --color-cyber-magenta: #ff006e; --color-cyber-purple: #8b5cf6; --color-cyber-pink: #ec4899; /* EasySQL 主色 - 清新青蓝 */ --color-sql-teal: #06b6d4; --color-sql-teal-light: #22d3ee; --color-sql-teal-dark: #0891b2; --color-sql-sky: #0ea5e9; /* 渐变 */ --gradient-green: linear-gradient(135deg, var(--color-green) 0%, var(--color-cyan) 100%); --gradient-cyber: linear-gradient(135deg, var(--color-cyber-cyan) 0%, var(--color-cyber-magenta) 100%); --gradient-purple: linear-gradient(135deg, var(--color-cyber-purple) 0%, var(--color-cyber-pink) 100%); --gradient-sql: linear-gradient(135deg, var(--color-sql-teal) 0%, var(--color-sql-sky) 100%); /* 字体 */ --font-display: 'Outfit', sans-serif; --font-sans: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif; --font-mono: 'JetBrains Mono', 'Consolas', monospace; --font-cyber: 'Orbitron', var(--font-display); /* 尺寸 */ --header-height: 72px; --container-width: 1200px; --border-radius: 16px; --border-radius-lg: 24px; /* 动画 */ --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-green-light); text-decoration: none; transition: color var(--transition-fast); } a:hover { color: var(--color-green); } img { max-width: 100%; height: auto; } code { font-family: var(--font-mono); background: var(--color-bg-tertiary); padding: 0.2em 0.4em; border-radius: 6px; font-size: 0.9em; } /* ============================================ 背景装饰 ============================================ */ .bg-decoration { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; } .gradient-orb { position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.4; } .orb-1 { width: 600px; height: 600px; top: -200px; right: -150px; } .orb-2 { width: 500px; height: 500px; bottom: 10%; left: -150px; } .orb-3 { width: 400px; height: 400px; bottom: -100px; right: 30%; } /* 绿色调 */ .orb-green { background: var(--color-green); opacity: 0.2; } .orb-cyan { background: var(--color-cyan); opacity: 0.15; } /* 赛博朋克色调 */ .orb-magenta { background: var(--color-cyber-magenta); opacity: 0.2; } /* 主页渐变 */ .home-page .orb-1 { background: linear-gradient(135deg, var(--color-green), var(--color-cyber-cyan)); } .home-page .orb-2 { background: var(--color-cyber-purple); } .home-page .orb-3 { background: var(--color-cyber-magenta); opacity: 0.15; } /* 噪点覆盖 */ .noise-overlay { position: absolute; inset: 0; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E"); opacity: 0.03; mix-blend-mode: overlay; } /* 赛博朋克网格 */ .cyber-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px); background-size: 50px 50px; mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%); } /* 扫描线效果 */ .scan-line { position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, transparent, var(--color-cyber-cyan), transparent); opacity: 0.3; animation: scanLine 4s linear infinite; } @keyframes scanLine { 0% { top: 0; opacity: 0; } 10% { opacity: 0.3; } 90% { opacity: 0.3; } 100% { top: 100%; opacity: 0; } } /* ============================================ 容器 ============================================ */ .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: 13px; font-weight: 600; color: var(--color-green); 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; text-transform: uppercase; letter-spacing: 1px; } .section-tag-green { color: var(--color-green); background: rgba(16, 185, 129, 0.1); border-color: rgba(16, 185, 129, 0.3); } .section-tag-cyber { color: var(--color-cyber-cyan); background: rgba(0, 212, 255, 0.1); border-color: rgba(0, 212, 255, 0.3); text-shadow: 0 0 10px rgba(0, 212, 255, 0.5); } .section-title { font-family: var(--font-display); 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-green); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; } .gradient-text-green { background: var(--gradient-green); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; } .gradient-text-cyber { background: var(--gradient-cyber); -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(8, 12, 20, 0.85); 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-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--color-text); } .logo:hover { color: var(--color-text); } .logo-icon { font-size: 24px; } .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, .nav-links a.active { 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); } /* 赛博朋克导航 */ .navbar-cyber { border-bottom-color: rgba(0, 212, 255, 0.2); } /* ============================================ 按钮 ============================================ */ .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: 12px; 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-nav { padding: 8px 16px; font-size: 14px; background: var(--color-bg-tertiary); border: 1px solid var(--color-border); color: var(--color-text); } .btn-nav:hover { background: var(--color-bg-secondary); border-color: var(--color-green); color: var(--color-text); } .btn-nav-cyber:hover { border-color: var(--color-cyber-cyan); box-shadow: 0 0 20px rgba(0, 212, 255, 0.2); } .btn-primary { background: var(--gradient-green); color: white; box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3); } .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 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-green); 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); } /* 赛博朋克按钮 */ .btn-cyber { background: var(--gradient-cyber); color: white; box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3); position: relative; overflow: hidden; } .btn-cyber::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent); transform: translateX(-100%); transition: transform 0.5s; } .btn-cyber:hover::before { transform: translateX(100%); } .btn-cyber:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0, 212, 255, 0.4), 0 0 60px rgba(0, 212, 255, 0.2); color: white; } .btn-outline-cyber { background: transparent; color: var(--color-cyber-cyan); border: 1px solid var(--color-cyber-cyan); } .btn-outline-cyber:hover { background: rgba(0, 212, 255, 0.1); box-shadow: 0 0 30px rgba(0, 212, 255, 0.2); color: var(--color-cyber-cyan); } .btn-ghost-cyber { background: rgba(0, 212, 255, 0.05); color: var(--color-text); border: 1px solid rgba(0, 212, 255, 0.3); } .btn-ghost-cyber:hover { background: rgba(0, 212, 255, 0.1); border-color: var(--color-cyber-cyan); 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: 10px; font-family: var(--font-mono); font-size: 13px; font-weight: 500; color: var(--color-green); background: rgba(16, 185, 129, 0.1); border: 1px solid rgba(16, 185, 129, 0.2); padding: 8px 18px; border-radius: 30px; margin-bottom: 24px; } .badge-icon { font-size: 16px; } .badge-dot { width: 8px; height: 8px; background: var(--color-green); border-radius: 50%; animation: pulse 2s infinite; } @keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.9); } } .hero-badge-green { color: var(--color-green); background: rgba(16, 185, 129, 0.1); border-color: rgba(16, 185, 129, 0.2); } .hero-badge-cyber { color: var(--color-cyber-cyan); background: rgba(0, 212, 255, 0.1); border-color: rgba(0, 212, 255, 0.3); text-shadow: 0 0 10px rgba(0, 212, 255, 0.5); } .badge-dot-cyber { background: var(--color-cyber-cyan); box-shadow: 0 0 10px var(--color-cyber-cyan); } .hero-title { font-family: var(--font-display); font-size: clamp(40px, 6vw, 72px); font-weight: 800; line-height: 1.1; margin-bottom: 24px; } .title-line { display: block; } .product-logo { font-size: 0.8em; margin-right: 10px; } .hero-tagline { font-size: clamp(18px, 2.5vw, 24px); color: var(--color-text-secondary); margin-bottom: 16px; font-weight: 500; } .hero-description { font-size: 18px; color: var(--color-text-secondary); margin-bottom: 32px; line-height: 1.8; } .hero-description .highlight { color: var(--color-green-light); font-weight: 600; } .highlight-cyber { color: var(--color-cyber-cyan); font-weight: 600; } .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-value-cyber { color: var(--color-cyber-cyan); text-shadow: 0 0 20px rgba(0, 212, 255, 0.5); } .stat-label { font-size: 14px; color: var(--color-text-muted); } .stat-divider { width: 1px; height: 40px; background: var(--color-border); } .stat-divider-cyber { background: rgba(0, 212, 255, 0.3); } /* 详情页 Hero */ .detail-hero { min-height: auto; padding: 160px 0 100px; } .detail-hero .container { display: block; text-align: center; } .detail-hero .hero-stats { justify-content: center; } .detail-hero .hero-actions { justify-content: center; } /* 赛博朋克 Hero */ .cyber-hero .hero-title { font-family: var(--font-cyber); } .title-cyber { background: var(--gradient-cyber); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; text-shadow: none; filter: drop-shadow(0 0 30px rgba(0, 212, 255, 0.3)); } .cyber-tagline { color: var(--color-text-secondary); } /* Hero Visual - 浮动卡片 */ .hero-visual { position: relative; height: 400px; } .floating-cards { position: relative; width: 100%; height: 100%; } .float-card { position: absolute; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; width: 100px; height: 100px; background: var(--color-bg-card); border: 1px solid var(--color-border); border-radius: 20px; backdrop-filter: blur(10px); animation: float 6s ease-in-out infinite; } .float-card:hover { border-color: var(--color-green); transform: scale(1.1); } .card-emoji { font-size: 32px; } .card-label { font-family: var(--font-mono); font-size: 12px; color: var(--color-text-secondary); } .card-1 { top: 10%; left: 10%; animation-delay: 0s; } .card-2 { top: 5%; right: 20%; animation-delay: 1s; } .card-3 { top: 40%; left: 5%; animation-delay: 2s; } .card-4 { top: 35%; right: 10%; animation-delay: 3s; } .card-5 { bottom: 15%; left: 20%; animation-delay: 4s; } .card-6 { bottom: 10%; right: 15%; animation-delay: 5s; } @keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } } /* ============================================ 产品卡片 ============================================ */ .products { background: var(--color-bg-secondary); } .product-card { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: center; padding: 60px; background: var(--color-bg-card); border: 1px solid var(--color-border); border-radius: var(--border-radius-lg); margin-bottom: 60px; transition: all var(--transition-base); } .product-card:hover { border-color: var(--color-green); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3); } .product-card.reverse { grid-template-columns: 1.2fr 1fr; } .product-card.reverse .product-info { order: 2; } .product-card.reverse .product-preview { order: 1; } .product-card.reverse:hover { border-color: var(--color-cyber-cyan); } .product-header { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; } .product-icon { font-size: 48px; } .product-icon-img { width: 56px; height: 56px; border-radius: 12px; } .product-logo-img { width: 72px; height: 72px; border-radius: 16px; vertical-align: middle; margin-right: 16px; } .footer-icon { width: 32px; height: 32px; border-radius: 8px; } .product-name { font-family: var(--font-display); font-size: 32px; font-weight: 700; } .product-badge { display: inline-block; font-family: var(--font-mono); font-size: 11px; font-weight: 600; color: var(--color-green); background: rgba(16, 185, 129, 0.1); border: 1px solid rgba(16, 185, 129, 0.3); padding: 4px 10px; border-radius: 12px; text-transform: uppercase; letter-spacing: 0.5px; } .product-badge-cyber { color: var(--color-cyber-cyan); background: rgba(0, 212, 255, 0.1); border-color: rgba(0, 212, 255, 0.3); } .product-tagline { font-size: 18px; font-weight: 500; color: var(--color-text); margin-bottom: 16px; } .product-desc { color: var(--color-text-secondary); margin-bottom: 24px; line-height: 1.7; } .product-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 24px; } .feature-item { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--color-text-secondary); } .feature-icon { font-size: 16px; } .product-tech { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; } .tech-item { font-family: var(--font-mono); font-size: 12px; color: var(--color-text-muted); background: var(--color-bg-tertiary); padding: 4px 12px; border-radius: 6px; } .product-actions { display: flex; gap: 12px; } /* Product Preview */ .product-preview { position: relative; } .preview-window { background: var(--color-bg-secondary); border-radius: var(--border-radius); border: 1px solid var(--color-border); overflow: hidden; box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4); } .preview-cyber { border-color: rgba(0, 212, 255, 0.3); box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4), 0 0 60px rgba(0, 212, 255, 0.1); } .preview-sql { border-color: rgba(6, 182, 212, 0.3); box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4), 0 0 60px rgba(6, 182, 212, 0.1); } .product-badge-sql { color: var(--color-sql-teal); background: rgba(6, 182, 212, 0.1); border-color: rgba(6, 182, 212, 0.3); } .window-header { display: flex; align-items: center; gap: 12px; padding: 14px 20px; background: var(--color-bg-tertiary); border-bottom: 1px solid var(--color-border); } .window-dots { display: flex; gap: 8px; } .window-dots span { width: 12px; height: 12px; border-radius: 50%; } .window-dots span:nth-child(1) { background: #ef4444; } .window-dots span:nth-child(2) { background: #f59e0b; } .window-dots 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); } .preview-img { width: 100%; display: block; } /* ============================================ 对比表格 ============================================ */ .comparison { background: var(--color-bg); } .comparison-table { max-width: 900px; margin: 0 auto; background: var(--color-bg-secondary); border-radius: var(--border-radius); border: 1px solid var(--color-border); overflow: hidden; } .comparison-header, .comparison-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; } .comparison-header-4col, .comparison-row-4col { grid-template-columns: 1fr 1fr 1fr 1fr; } .comparison-table-3col { max-width: 1100px; } .comparison-header { background: var(--color-bg-tertiary); padding: 20px 24px; border-bottom: 1px solid var(--color-border); } .comparison-header .comparison-cell { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--color-text); } .product-icon-sm { font-size: 20px; } .comparison-icon { width: 24px; height: 24px; border-radius: 6px; } .comparison-row { padding: 16px 24px; border-bottom: 1px solid var(--color-border-light); } .comparison-row:last-child { border-bottom: none; } .comparison-cell:first-child { color: var(--color-text-secondary); font-weight: 500; } .comparison-cell { font-size: 14px; color: var(--color-text); } /* ============================================ 功能特性 ============================================ */ .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-green); 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-card.feature-green:hover { border-color: var(--color-green); } .feature-card-cyber { background: rgba(0, 212, 255, 0.02); } .feature-card-cyber:hover { border-color: var(--color-cyber-cyan); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 212, 255, 0.1); } .feature-icon { font-size: 40px; margin-bottom: 20px; } .feature-card h3 { font-family: var(--font-display); 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: 24px; margin-bottom: 10px; color: var(--color-text-secondary); font-size: 14px; } .feature-list li::before { content: '✓'; position: absolute; left: 0; color: var(--color-green); font-weight: 600; } .cyber-grid-features { grid-template-columns: repeat(4, 1fr); } /* ============================================ 截图展示 ============================================ */ .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: 10px; cursor: pointer; transition: all var(--transition-fast); } .tab-btn:hover { color: var(--color-text); border-color: var(--color-green); } .tab-btn.active { color: var(--color-green); background: rgba(16, 185, 129, 0.1); border-color: var(--color-green); } .tab-btn-cyber:hover { border-color: var(--color-cyber-cyan); } .tab-btn-cyber.active { color: var(--color-cyber-cyan); background: rgba(0, 212, 255, 0.1); border-color: var(--color-cyber-cyan); box-shadow: 0 0 20px rgba(0, 212, 255, 0.2); } .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); } .cyber-frame { border-color: rgba(0, 212, 255, 0.2); box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4), 0 0 80px rgba(0, 212, 255, 0.1); } .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); } .cyber-window-bar { border-bottom-color: rgba(0, 212, 255, 0.2); } .window-buttons { display: flex; gap: 8px; } .window-buttons span { width: 12px; height: 12px; border-radius: 50%; } .window-buttons span:nth-child(1) { background: #ef4444; } .window-buttons span:nth-child(2) { background: #f59e0b; } .window-buttons span:nth-child(3) { background: #10b981; } .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); padding: 60px 0; } .features-banner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; } .banner-content { text-align: center; padding: 32px 24px; background: var(--color-bg-card); border: 1px solid var(--color-border); border-radius: var(--border-radius); transition: all var(--transition-base); } .banner-content:hover { border-color: var(--color-green); transform: translateY(-4px); } .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: 13px; 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-green-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-green); } .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; } /* ============================================ 快捷键 ============================================ */ .shortcuts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 900px; margin: 0 auto; } .shortcut-item { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 24px; background: var(--color-bg-card); border: 1px solid var(--color-border); border-radius: var(--border-radius); text-align: center; } .shortcut-item kbd { display: inline-block; font-family: var(--font-mono); font-size: 12px; font-weight: 600; color: var(--color-cyber-cyan); background: rgba(0, 212, 255, 0.1); border: 1px solid rgba(0, 212, 255, 0.3); padding: 6px 12px; border-radius: 6px; margin: 0 2px; } .shortcut-item span { font-size: 14px; color: var(--color-text-secondary); } /* ============================================ 平台支持 ============================================ */ .platforms-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: 900px; margin: 0 auto; } .platform-card { text-align: center; padding: 40px 24px; background: var(--color-bg-card); border: 1px solid var(--color-border); border-radius: var(--border-radius); transition: all var(--transition-base); } .platform-card:hover { border-color: var(--color-cyber-cyan); transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 212, 255, 0.1); } .platform-icon { font-size: 48px; margin-bottom: 16px; } .platform-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; color: var(--color-text); } .platform-card p { font-size: 14px; color: var(--color-text-muted); } /* ============================================ 技术栈 ============================================ */ .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: 10px 20px; border-radius: 8px; transition: all var(--transition-fast); } .tech-tag:hover { border-color: var(--color-green); color: var(--color-green); } .tech-tag-cyber:hover { border-color: var(--color-cyber-cyan); color: var(--color-cyber-cyan); box-shadow: 0 0 20px rgba(0, 212, 255, 0.2); } /* ============================================ 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-green { 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.2); } .cta-cyber { background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(255, 0, 110, 0.05) 100%); border-top: 1px solid rgba(0, 212, 255, 0.2); border-bottom: 1px solid rgba(0, 212, 255, 0.2); } .cta-content { text-align: center; } .cta-content h2 { font-family: var(--font-display); 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-cyber { border-top-color: rgba(0, 212, 255, 0.2); } .footer-content { text-align: center; } .footer-brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 24px; font-weight: 700; margin-bottom: 16px; } .product-emoji { font-size: 28px; } .logo-text-cyber { font-family: var(--font-cyber); background: var(--gradient-cyber); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; } .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-green); } .footer-cyber .footer-links a:hover { color: var(--color-cyber-cyan); } .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: 500px; margin: 0 auto; height: 300px; } .hero-actions { justify-content: center; } .hero-stats { justify-content: center; } .product-card { grid-template-columns: 1fr; padding: 40px; } .product-card.reverse { grid-template-columns: 1fr; } .product-card.reverse .product-info { order: 1; } .product-card.reverse .product-preview { order: 2; } .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); } .cyber-grid-features { grid-template-columns: repeat(2, 1fr); } .comparison-header, .comparison-row { grid-template-columns: 1fr; gap: 8px; } .comparison-header-4col, .comparison-row-4col { grid-template-columns: 1fr; } .comparison-header { display: none; } .shortcuts-grid, .platforms-grid { grid-template-columns: repeat(2, 1fr); } } @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 { transform: translateY(0); opacity: 1; pointer-events: all; } .mobile-menu-btn { display: flex; } .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); } .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; } .hero-visual { display: none; } .product-card { padding: 24px; } .product-features { grid-template-columns: 1fr; } .product-actions { flex-direction: column; } .features-grid { grid-template-columns: 1fr; } .feature-card.feature-highlight { grid-column: span 1; } .cyber-grid-features { grid-template-columns: 1fr; } .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; } .shortcuts-grid, .platforms-grid { grid-template-columns: 1fr; } .cta-actions { flex-direction: column; align-items: center; } .footer-links { flex-direction: column; gap: 16px; } } /* ============================================ 动画 ============================================ */ @keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } } .hero-badge, .hero-title, .hero-tagline, .hero-description, .hero-actions, .hero-stats { animation: fadeInUp 0.8s ease-out backwards; } .hero-badge { animation-delay: 0.1s; } .hero-title { animation-delay: 0.2s; } .hero-tagline { animation-delay: 0.3s; } .hero-description { animation-delay: 0.4s; } .hero-actions { animation-delay: 0.5s; } .hero-stats { animation-delay: 0.6s; } /* 滚动动画 */ .feature-card, .faq-item, .table-row:not(.table-header), .product-card, .banner-content, .platform-card, .shortcut-item { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; } .feature-card.visible, .faq-item.visible, .table-row.visible, .product-card.visible, .banner-content.visible, .platform-card.visible, .shortcut-item.visible { opacity: 1; transform: translateY(0); } /* ============================================ EasySQL 专用样式 - 清新青蓝主题 ============================================ */ /* 背景装饰 */ .orb-teal { background: var(--color-sql-teal); opacity: 0.2; } .orb-sky { background: var(--color-sql-sky); opacity: 0.15; } .sql-pattern { position: absolute; inset: 0; background-image: radial-gradient(circle at 20% 80%, rgba(6, 182, 212, 0.08) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(14, 165, 233, 0.08) 0%, transparent 50%); } /* 导航栏 */ .navbar-sql { border-bottom-color: rgba(6, 182, 212, 0.2); } .btn-nav-sql:hover { border-color: var(--color-sql-teal); box-shadow: 0 0 20px rgba(6, 182, 212, 0.2); } /* Section 标签 */ .section-tag-sql { color: var(--color-sql-teal); background: rgba(6, 182, 212, 0.1); border-color: rgba(6, 182, 212, 0.3); } /* 渐变文字 */ .gradient-text-sql { background: var(--gradient-sql); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; } /* Hero Badge */ .hero-badge-sql { color: var(--color-sql-teal); background: rgba(6, 182, 212, 0.1); border-color: rgba(6, 182, 212, 0.3); } .badge-dot-sql { background: var(--color-sql-teal); box-shadow: 0 0 10px var(--color-sql-teal); } /* Hero 标题 */ .sql-hero .hero-title { font-family: var(--font-display); } .title-sql { background: var(--gradient-sql); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; text-shadow: none; filter: drop-shadow(0 0 30px rgba(6, 182, 212, 0.3)); } .sql-tagline { color: var(--color-text-secondary); } .highlight-sql { color: var(--color-sql-teal); font-weight: 600; } /* Hero Stats */ .stat-value-sql { color: var(--color-sql-teal); text-shadow: 0 0 20px rgba(6, 182, 212, 0.5); } .stat-divider-sql { background: rgba(6, 182, 212, 0.3); } /* 按钮 */ .btn-sql { background: var(--gradient-sql); color: white; box-shadow: 0 4px 20px rgba(6, 182, 212, 0.3); position: relative; overflow: hidden; } .btn-sql::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent); transform: translateX(-100%); transition: transform 0.5s; } .btn-sql:hover::before { transform: translateX(100%); } .btn-sql:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(6, 182, 212, 0.4), 0 0 60px rgba(6, 182, 212, 0.2); color: white; } .btn-outline-sql { background: transparent; color: var(--color-sql-teal); border: 1px solid var(--color-sql-teal); } .btn-outline-sql:hover { background: rgba(6, 182, 212, 0.1); box-shadow: 0 0 30px rgba(6, 182, 212, 0.2); color: var(--color-sql-teal); } .btn-ghost-sql { background: rgba(6, 182, 212, 0.05); color: var(--color-text); border: 1px solid rgba(6, 182, 212, 0.3); } .btn-ghost-sql:hover { background: rgba(6, 182, 212, 0.1); border-color: var(--color-sql-teal); color: var(--color-text); } /* 数据库卡片 */ .databases-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: 1000px; margin: 0 auto; } .database-card { text-align: center; padding: 32px 24px; background: var(--color-bg-card); border: 1px solid var(--color-border); border-radius: var(--border-radius); transition: all var(--transition-base); } .database-card-sql:hover { border-color: var(--color-sql-teal); transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 40px rgba(6, 182, 212, 0.1); } .database-card-coming { opacity: 0.6; } .database-card-coming:hover { opacity: 0.8; } .database-icon { font-size: 40px; margin-bottom: 12px; } .database-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 4px; color: var(--color-text); } .database-card p { font-size: 13px; color: var(--color-text-muted); margin-bottom: 12px; } .driver-tag { display: inline-block; font-family: var(--font-mono); font-size: 11px; color: var(--color-sql-teal); background: rgba(6, 182, 212, 0.1); border: 1px solid rgba(6, 182, 212, 0.3); padding: 4px 10px; border-radius: 12px; } .driver-tag-coming { color: var(--color-text-muted); background: rgba(255, 255, 255, 0.05); border-color: var(--color-border); } /* 截图区域 */ .sql-frame { border-color: rgba(6, 182, 212, 0.2); box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4), 0 0 80px rgba(6, 182, 212, 0.1); } .sql-window-bar { border-bottom-color: rgba(6, 182, 212, 0.2); } .tab-btn-sql:hover { border-color: var(--color-sql-teal); } .tab-btn-sql.active { color: var(--color-sql-teal); background: rgba(6, 182, 212, 0.1); border-color: var(--color-sql-teal); box-shadow: 0 0 20px rgba(6, 182, 212, 0.2); } /* 功能卡片 */ .sql-grid-features { grid-template-columns: repeat(4, 1fr); } .feature-card-sql { background: rgba(6, 182, 212, 0.02); } .feature-card-sql:hover { border-color: var(--color-sql-teal); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 40px rgba(6, 182, 212, 0.1); } /* 快捷键 */ .shortcuts-grid-sql { grid-template-columns: repeat(4, 1fr); max-width: 1000px; } .shortcut-item-sql kbd { color: var(--color-sql-teal); background: rgba(6, 182, 212, 0.1); border-color: rgba(6, 182, 212, 0.3); } /* 平台卡片 */ .platforms-grid-sql { grid-template-columns: repeat(3, 1fr); max-width: 700px; } .platform-card-sql:hover { border-color: var(--color-sql-teal); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 40px rgba(6, 182, 212, 0.1); } /* 技术标签 */ .tech-tag-sql:hover { border-color: var(--color-sql-teal); color: var(--color-sql-teal); box-shadow: 0 0 20px rgba(6, 182, 212, 0.2); } /* CTA 区域 */ .cta-sql { background: linear-gradient(135deg, rgba(6, 182, 212, 0.1) 0%, rgba(14, 165, 233, 0.05) 100%); border-top: 1px solid rgba(6, 182, 212, 0.2); border-bottom: 1px solid rgba(6, 182, 212, 0.2); } /* 页脚 */ .footer-sql { border-top-color: rgba(6, 182, 212, 0.2); } .footer-sql .footer-links a:hover { color: var(--color-sql-teal); } .logo-text-sql { background: var(--gradient-sql); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; } /* 响应式 */ @media (max-width: 1024px) { .databases-grid { grid-template-columns: repeat(2, 1fr); } .sql-grid-features { grid-template-columns: repeat(2, 1fr); } .shortcuts-grid-sql { grid-template-columns: repeat(2, 1fr); } .platforms-grid-sql { grid-template-columns: repeat(3, 1fr); } } @media (max-width: 768px) { .databases-grid { grid-template-columns: 1fr 1fr; gap: 16px; } .sql-grid-features { grid-template-columns: 1fr; } .shortcuts-grid-sql { grid-template-columns: 1fr; } .platforms-grid-sql { grid-template-columns: 1fr; } }