- 引入 Lenis 平滑滚动 + GSAP ScrollTrigger 驱动的分区揭示动画 - 新增"扫描线"签名效果:每个分区进入视口时有一道电光蓝扫描线掠过(呼应基因测序读数的意象) - 视频、产品、学术资讯板块全部改为深色岩层基调,与首屏背景统一 - 字体改为 Noto Serif SC(粗衬线,碑刻质感) + JetBrains Mono(数据感等宽字体)组合,替换掉过于套路化的 Orbitron - 产品卡片新增 3D 鼠标跟随倾斜效果 + 编号标签(01/02/03) - 新增关键词跑马灯装饰带、首屏"向下滚动"提示、Logo 视差微动 - 首屏标题/徽标改为错落浮现的加载动画
722 lines
14 KiB
CSS
722 lines
14 KiB
CSS
/* 全局样式 */
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
:root {
|
|
--primary-blue: #1e3c72;
|
|
--primary-purple: #6a2c91;
|
|
--secondary-blue: #2a5298;
|
|
--accent-color: #00d4ff;
|
|
--hero-overlay-color: rgba(127, 255, 212, 0.32);
|
|
--light-bg: #f5f7fa;
|
|
--dark-text: #333;
|
|
--light-text: #666;
|
|
|
|
/* 深海岩层配色(参考 Hyper-seq 宣传册) */
|
|
--rock-navy-0: #05070c;
|
|
--rock-navy-1: #0a1120;
|
|
--rock-navy-2: #121d34;
|
|
--rock-navy-3: #1b2c4a;
|
|
--ice-blue: #cfe8ff;
|
|
--ice-blue-dim: #9cc6ec;
|
|
--electric-blue: #38bdf8;
|
|
--coral-accent: #ff8a5c;
|
|
}
|
|
|
|
body {
|
|
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
|
color: var(--dark-text);
|
|
line-height: 1.6;
|
|
background-color: #fff;
|
|
}
|
|
|
|
.container {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
padding: 0 20px;
|
|
}
|
|
|
|
/* 英雄部分 —— 深海岩层背景 */
|
|
.hero {
|
|
position: relative;
|
|
height: 62vh;
|
|
min-height: 460px;
|
|
max-height: 680px;
|
|
overflow: hidden;
|
|
background:
|
|
radial-gradient(ellipse 60% 45% at 18% 15%, rgba(148, 163, 184, 0.16), transparent 60%),
|
|
radial-gradient(ellipse 55% 40% at 78% 10%, rgba(110, 130, 170, 0.14), transparent 60%),
|
|
radial-gradient(ellipse 70% 55% at 82% 88%, rgba(56, 189, 248, 0.10), transparent 65%),
|
|
linear-gradient(160deg, var(--rock-navy-0) 0%, var(--rock-navy-1) 40%, var(--rock-navy-2) 72%, var(--rock-navy-3) 100%);
|
|
}
|
|
|
|
/* 岩石颗粒质感叠加层 */
|
|
.hero::before {
|
|
content: "";
|
|
position: absolute;
|
|
inset: 0;
|
|
z-index: 0;
|
|
pointer-events: none;
|
|
opacity: 0.5;
|
|
mix-blend-mode: overlay;
|
|
background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
|
|
background-size: 240px 240px;
|
|
}
|
|
|
|
/* 岩壁棱线光影 */
|
|
.hero::after {
|
|
content: "";
|
|
position: absolute;
|
|
inset: 0;
|
|
z-index: 0;
|
|
pointer-events: none;
|
|
background:
|
|
linear-gradient(105deg, transparent 30%, rgba(180, 196, 220, 0.05) 42%, transparent 54%),
|
|
linear-gradient(72deg, transparent 55%, rgba(180, 196, 220, 0.04) 63%, transparent 74%);
|
|
}
|
|
|
|
/* 右下角跟随鼠标的粒子网络 */
|
|
.hero-particles {
|
|
position: absolute;
|
|
right: 0;
|
|
bottom: 0;
|
|
width: 60%;
|
|
height: 75%;
|
|
z-index: 1;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.hero-carousel {
|
|
position: relative;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.hero-slide {
|
|
display: none;
|
|
position: absolute;
|
|
width: 100%;
|
|
height: 100%;
|
|
top: 0;
|
|
left: 0;
|
|
}
|
|
|
|
.hero-slide.active {
|
|
display: flex;
|
|
align-items: center;
|
|
animation: slideIn 0.5s ease-in;
|
|
}
|
|
|
|
.hero-brand-slide.active {
|
|
justify-content: center;
|
|
}
|
|
|
|
@keyframes slideIn {
|
|
from {
|
|
opacity: 0;
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
.hero-slide > img {
|
|
position: absolute;
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
opacity: 0.16;
|
|
z-index: 0;
|
|
filter: grayscale(0.3) brightness(0.7);
|
|
}
|
|
|
|
.hero-brand-slide::before {
|
|
content: "";
|
|
position: absolute;
|
|
inset: 0;
|
|
z-index: 1;
|
|
background: radial-gradient(ellipse 70% 60% at 50% 40%, rgba(28, 45, 74, 0.35), rgba(5, 7, 12, 0.55) 80%);
|
|
}
|
|
|
|
.hero-brand-slide > img {
|
|
opacity: 0.1;
|
|
}
|
|
|
|
.hero-content {
|
|
position: relative;
|
|
z-index: 2;
|
|
color: white;
|
|
padding-left: 60px;
|
|
max-width: 600px;
|
|
}
|
|
|
|
.hero-content h1 {
|
|
font-family: 'Noto Serif SC', 'Fraunces', serif;
|
|
font-size: 2.45rem;
|
|
font-weight: 700;
|
|
letter-spacing: 0.01em;
|
|
margin-bottom: 20px;
|
|
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
.hero-content p {
|
|
font-size: 1.3rem;
|
|
margin-bottom: 30px;
|
|
opacity: 0.95;
|
|
}
|
|
|
|
.hero-brand-content {
|
|
max-width: 960px;
|
|
padding: 0 20px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.hero-brand-heading {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 34px;
|
|
}
|
|
|
|
.hero-brand-copy {
|
|
min-width: 0;
|
|
}
|
|
|
|
.hero-brand-logo {
|
|
height: 8.5rem;
|
|
width: auto;
|
|
flex: 0 0 auto;
|
|
filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.28));
|
|
}
|
|
|
|
.hero-kicker {
|
|
display: inline-block;
|
|
font-family: 'JetBrains Mono', monospace;
|
|
font-size: 0.85rem;
|
|
font-weight: 500;
|
|
letter-spacing: 0.3em;
|
|
text-transform: uppercase;
|
|
color: var(--ice-blue-dim);
|
|
margin-bottom: 14px;
|
|
}
|
|
|
|
.hero-brand-heading h1 {
|
|
color: var(--ice-blue);
|
|
margin-bottom: 0;
|
|
text-shadow: 0 0 30px rgba(56, 189, 248, 0.25);
|
|
font-family: 'Noto Serif SC', serif;
|
|
font-weight: 900;
|
|
letter-spacing: 0.02em;
|
|
}
|
|
|
|
.hero-line-1 {
|
|
display: block;
|
|
line-height: 1.35;
|
|
font-size: 3.1rem;
|
|
}
|
|
|
|
.hero-line-2 {
|
|
display: block;
|
|
line-height: 1.6;
|
|
font-size: 1.4rem;
|
|
font-weight: 700;
|
|
color: rgba(207, 232, 255, 0.75);
|
|
letter-spacing: 0.15em;
|
|
margin-left: 0.2rem;
|
|
}
|
|
|
|
.hero-badge-row {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 14px;
|
|
margin-top: 26px;
|
|
}
|
|
|
|
.hero-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 8px 20px;
|
|
border: 1px solid rgba(156, 198, 236, 0.5);
|
|
border-radius: 999px;
|
|
font-size: 0.85rem;
|
|
font-weight: 600;
|
|
letter-spacing: 0.05em;
|
|
color: var(--ice-blue);
|
|
background: rgba(56, 189, 248, 0.06);
|
|
backdrop-filter: blur(2px);
|
|
}
|
|
|
|
.hero-brand-btn {
|
|
display: block;
|
|
margin-top: 12px;
|
|
}
|
|
|
|
/* 按钮样式 */
|
|
.btn-primary {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: linear-gradient(135deg, var(--accent-color) 0%, #00a8cc 100%);
|
|
color: white;
|
|
border: none;
|
|
padding: 12px 30px;
|
|
font-size: 1rem;
|
|
border-radius: 5px;
|
|
cursor: pointer;
|
|
transition: transform 0.3s, box-shadow 0.3s;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 8px 16px rgba(0, 212, 255, 0.3);
|
|
}
|
|
|
|
/* 轮播控件 */
|
|
.carousel-controls {
|
|
position: absolute;
|
|
bottom: 30px;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
z-index: 3;
|
|
display: flex;
|
|
gap: 10px;
|
|
}
|
|
|
|
.carousel-dot {
|
|
width: 12px;
|
|
height: 12px;
|
|
border-radius: 50%;
|
|
background: rgba(255, 255, 255, 0.5);
|
|
border: none;
|
|
cursor: pointer;
|
|
transition: all 0.3s;
|
|
}
|
|
|
|
.carousel-dot.active {
|
|
background: white;
|
|
width: 30px;
|
|
border-radius: 6px;
|
|
}
|
|
|
|
/* 向下滚动提示 */
|
|
.scroll-cue {
|
|
position: absolute;
|
|
left: 60px;
|
|
bottom: 26px;
|
|
z-index: 2;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
color: rgba(207, 232, 255, 0.65);
|
|
font-family: 'JetBrains Mono', monospace;
|
|
font-size: 0.72rem;
|
|
letter-spacing: 0.22em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.scroll-cue-line {
|
|
display: block;
|
|
width: 1px;
|
|
height: 34px;
|
|
background: linear-gradient(to bottom, rgba(207, 232, 255, 0.75), transparent);
|
|
animation: scrollCueMove 2.2s ease-in-out infinite;
|
|
}
|
|
|
|
@keyframes scrollCueMove {
|
|
0% { transform: scaleY(0.3); transform-origin: top; opacity: 0.4; }
|
|
50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
|
|
100% { transform: scaleY(0.3); transform-origin: bottom; opacity: 0.4; }
|
|
}
|
|
|
|
/* 关键词标记带 */
|
|
.marquee-strip {
|
|
background: var(--rock-navy-0);
|
|
border-top: 1px solid rgba(156, 198, 236, 0.12);
|
|
border-bottom: 1px solid rgba(156, 198, 236, 0.12);
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
padding: 14px 0;
|
|
}
|
|
|
|
.marquee-track {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 18px;
|
|
animation: marqueeScroll 26s linear infinite;
|
|
font-family: 'JetBrains Mono', monospace;
|
|
font-size: 0.85rem;
|
|
letter-spacing: 0.08em;
|
|
color: var(--ice-blue-dim);
|
|
}
|
|
|
|
.marquee-track .dot {
|
|
color: var(--electric-blue);
|
|
opacity: 0.7;
|
|
}
|
|
|
|
@keyframes marqueeScroll {
|
|
from { transform: translateX(0); }
|
|
to { transform: translateX(-50%); }
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.marquee-track {
|
|
animation: none;
|
|
}
|
|
|
|
.scroll-cue-line {
|
|
animation: none;
|
|
}
|
|
}
|
|
|
|
/* 分区通用:扫描线签名效果 + 深色岩层底色 */
|
|
.reveal-section {
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.section-scan {
|
|
position: absolute;
|
|
left: 0;
|
|
right: 0;
|
|
top: 0;
|
|
height: 2px;
|
|
background: linear-gradient(90deg, transparent, var(--electric-blue), transparent);
|
|
box-shadow: 0 0 16px 2px rgba(56, 189, 248, 0.6);
|
|
pointer-events: none;
|
|
z-index: 5;
|
|
opacity: 0;
|
|
}
|
|
|
|
.section-heading {
|
|
text-align: center;
|
|
max-width: 640px;
|
|
margin: 0 auto 56px;
|
|
}
|
|
|
|
.section-heading .eyebrow {
|
|
display: inline-block;
|
|
font-family: 'JetBrains Mono', monospace;
|
|
font-size: 0.78rem;
|
|
letter-spacing: 0.32em;
|
|
text-transform: uppercase;
|
|
color: var(--electric-blue);
|
|
margin-bottom: 14px;
|
|
}
|
|
|
|
.section-heading h2 {
|
|
font-family: 'Noto Serif SC', serif;
|
|
font-weight: 900;
|
|
font-size: 2.3rem;
|
|
color: var(--ice-blue);
|
|
letter-spacing: 0.02em;
|
|
}
|
|
|
|
/* 产品预览部分 —— 深色岩层卡片 */
|
|
.products-preview {
|
|
padding: 110px 0;
|
|
background:
|
|
radial-gradient(ellipse 60% 50% at 85% 0%, rgba(56, 189, 248, 0.06), transparent 60%),
|
|
linear-gradient(180deg, var(--rock-navy-0) 0%, var(--rock-navy-1) 100%);
|
|
}
|
|
|
|
.preview-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
|
gap: 30px;
|
|
perspective: 1200px;
|
|
}
|
|
|
|
.preview-card {
|
|
position: relative;
|
|
background: linear-gradient(160deg, rgba(27, 44, 74, 0.55) 0%, rgba(10, 17, 32, 0.75) 100%);
|
|
padding: 30px 26px;
|
|
border-radius: 14px;
|
|
border: 1px solid rgba(156, 198, 236, 0.14);
|
|
backdrop-filter: blur(6px);
|
|
transition: border-color 0.3s, box-shadow 0.3s;
|
|
transform-style: preserve-3d;
|
|
will-change: transform;
|
|
}
|
|
|
|
.preview-card.is-tilting,
|
|
.preview-card:hover {
|
|
border-color: rgba(56, 189, 248, 0.45);
|
|
box-shadow: 0 20px 40px rgba(2, 6, 14, 0.45), 0 0 0 1px rgba(56, 189, 248, 0.08);
|
|
}
|
|
|
|
.card-index {
|
|
position: absolute;
|
|
top: 22px;
|
|
right: 26px;
|
|
font-family: 'JetBrains Mono', monospace;
|
|
font-size: 0.85rem;
|
|
letter-spacing: 0.08em;
|
|
color: rgba(156, 198, 236, 0.45);
|
|
}
|
|
|
|
.preview-image-wrap {
|
|
background: rgba(5, 7, 12, 0.6);
|
|
border-radius: 10px;
|
|
margin-bottom: 20px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.preview-image {
|
|
width: 100%;
|
|
height: 150px;
|
|
object-fit: contain;
|
|
display: block;
|
|
padding: 10px;
|
|
}
|
|
|
|
.preview-card h3 {
|
|
font-family: 'Noto Serif SC', serif;
|
|
font-weight: 700;
|
|
font-size: 1.4rem;
|
|
margin-bottom: 12px;
|
|
color: var(--ice-blue);
|
|
}
|
|
|
|
.preview-card p {
|
|
color: rgba(207, 232, 255, 0.62);
|
|
margin-bottom: 20px;
|
|
font-size: 0.95rem;
|
|
}
|
|
|
|
.card-link {
|
|
color: var(--electric-blue);
|
|
text-decoration: none;
|
|
font-weight: 600;
|
|
transition: color 0.3s;
|
|
}
|
|
|
|
.card-link:hover {
|
|
color: var(--ice-blue);
|
|
}
|
|
|
|
/* 学术与动态部分 —— 深色双栏 */
|
|
.academic-news {
|
|
padding: 110px 0;
|
|
background: var(--rock-navy-1);
|
|
}
|
|
|
|
.section-row {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 50px;
|
|
}
|
|
|
|
.section-col h3 {
|
|
font-family: 'Noto Serif SC', serif;
|
|
font-size: 1.5rem;
|
|
font-weight: 700;
|
|
margin-bottom: 26px;
|
|
color: var(--ice-blue);
|
|
border-bottom: 1px solid rgba(156, 198, 236, 0.25);
|
|
padding-bottom: 15px;
|
|
}
|
|
|
|
.news-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 20px;
|
|
}
|
|
|
|
.news-item {
|
|
padding: 20px;
|
|
border-left: 2px solid var(--electric-blue);
|
|
background: rgba(255, 255, 255, 0.03);
|
|
border-radius: 5px;
|
|
transition: all 0.3s;
|
|
}
|
|
|
|
.news-item:hover {
|
|
background: rgba(56, 189, 248, 0.08);
|
|
transform: translateX(8px);
|
|
}
|
|
|
|
.news-item h4 {
|
|
margin-bottom: 8px;
|
|
color: var(--ice-blue);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.news-item p {
|
|
font-size: 0.9rem;
|
|
color: rgba(207, 232, 255, 0.55);
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.news-item a,
|
|
.read-more {
|
|
color: var(--electric-blue);
|
|
text-decoration: none;
|
|
font-size: 0.9rem;
|
|
transition: color 0.3s;
|
|
}
|
|
|
|
.news-item a:hover,
|
|
.read-more:hover {
|
|
color: var(--ice-blue);
|
|
}
|
|
|
|
/* 响应式设计 */
|
|
@media (max-width: 768px) {
|
|
.hero-brand-heading {
|
|
gap: 20px;
|
|
flex-direction: column;
|
|
text-align: center;
|
|
}
|
|
|
|
.hero-brand-logo {
|
|
height: 6.8rem;
|
|
}
|
|
|
|
.hero-brand-btn {
|
|
margin-top: 12px;
|
|
}
|
|
|
|
.hero-content h1 {
|
|
font-size: 2rem;
|
|
}
|
|
|
|
.hero-content p {
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.hero-line-1 {
|
|
font-size: 2.1rem;
|
|
}
|
|
|
|
.hero-line-2 {
|
|
font-size: 1.1rem;
|
|
margin-left: 0;
|
|
}
|
|
|
|
.hero-badge-row {
|
|
justify-content: center;
|
|
}
|
|
|
|
.hero-particles {
|
|
width: 100%;
|
|
height: 55%;
|
|
}
|
|
|
|
.products-preview h2,
|
|
.section-heading h2 {
|
|
font-size: 1.9rem;
|
|
}
|
|
|
|
.section-row {
|
|
grid-template-columns: 1fr;
|
|
gap: 40px;
|
|
}
|
|
|
|
.preview-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.scroll-cue {
|
|
left: 20px;
|
|
}
|
|
|
|
.marquee-track {
|
|
font-size: 0.75rem;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.hero {
|
|
height: 400px;
|
|
}
|
|
|
|
.hero-content {
|
|
padding-left: 20px;
|
|
}
|
|
|
|
.hero-brand-heading {
|
|
gap: 14px;
|
|
}
|
|
|
|
.hero-brand-logo {
|
|
height: 5rem;
|
|
}
|
|
|
|
.hero-brand-btn {
|
|
margin-top: 12px;
|
|
}
|
|
|
|
.hero-content h1 {
|
|
font-size: 1.5rem;
|
|
}
|
|
|
|
.hero-content p {
|
|
font-size: 0.9rem;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.home-video-section {
|
|
background: var(--rock-navy-0);
|
|
padding: 100px 20px;
|
|
}
|
|
|
|
.home-video-layout {
|
|
display: grid;
|
|
grid-template-columns: minmax(260px, 0.75fr) 1.25fr;
|
|
gap: 40px;
|
|
align-items: center;
|
|
}
|
|
|
|
.home-video-copy h2 {
|
|
font-family: 'Noto Serif SC', serif;
|
|
font-weight: 700;
|
|
color: var(--ice-blue);
|
|
font-size: 1.9rem;
|
|
margin-bottom: 14px;
|
|
}
|
|
|
|
.home-video-copy p {
|
|
color: rgba(207, 232, 255, 0.62);
|
|
line-height: 1.8;
|
|
margin-bottom: 14px;
|
|
}
|
|
|
|
.section-kicker {
|
|
display: inline-block;
|
|
font-family: 'JetBrains Mono', monospace;
|
|
color: var(--electric-blue);
|
|
font-weight: 700;
|
|
letter-spacing: 0.14em;
|
|
margin-bottom: 10px;
|
|
font-size: 0.85rem;
|
|
}
|
|
|
|
.home-video-media {
|
|
position: relative;
|
|
border-radius: 12px;
|
|
padding: 1px;
|
|
background: linear-gradient(135deg, rgba(56, 189, 248, 0.35), rgba(156, 198, 236, 0.08));
|
|
}
|
|
|
|
.home-video-layout video {
|
|
width: 100%;
|
|
aspect-ratio: 16 / 9;
|
|
display: block;
|
|
background: #05070c;
|
|
border-radius: 11px;
|
|
box-shadow: 0 20px 45px rgba(2, 6, 14, 0.55);
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.home-video-layout {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|