Files
haiguji-website-export/css/style.css
T
Claude 431b0a7c38 全站统一深色岩层背景+粒子特效;导航/底部无缝融合;底部导航结构调整
- body 改为固定(background-attachment: fixed)的深色岩层渐变+噪点纹理,作为全站统一背景,所有子页面的主体区域都与首页品牌视觉背景一致
- 新增全局唯一的跟随鼠标粒子画布(.site-particles,position:fixed铺满视口),替换掉原来仅限首页hero/子页面page-hero局部的粒子画布
- about.css/pages.css/resources.css 全面转换为深色主题配色:白色卡片背景改为半透明深蓝玻璃质感,深色文字改为冰蓝/浅蓝,浅色边框改为半透明冰蓝边框
- 顶部导航:默认完全透明,滚动后切换为与背景同色调的深色玻璃底色,不再出现白色导航栏
- 底部导航:footer-fade渐变上色改为与页面背景一致(rock-navy-0),下色改为更深的近黑色,形成无缝过渡
- 底部导航结构调整:合作伙伴模块删除,合并为「关于海古纪」列表下的一个链接项;「关于海古纪」下的隐私协议链接删除,改为footer-bottom的“隐私政策”链接跳转到实际隐私协议内容
- 联系信息电话号码字体与其余文字保持一致(去除等宽字体特殊样式)
- footer-section标题颜色统一改为与首页“最新动态”一致的冰蓝色(--ice-blue)
2026-07-15 03:04:15 +00:00

668 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(--ice-blue);
line-height: 1.6;
position: relative;
background:
radial-gradient(ellipse 60% 45% at 18% 10%, rgba(148, 163, 184, 0.14), transparent 60%),
radial-gradient(ellipse 55% 40% at 82% 6%, rgba(110, 130, 170, 0.12), transparent 60%),
radial-gradient(ellipse 70% 55% at 85% 92%, rgba(56, 189, 248, 0.09), transparent 65%),
repeating-linear-gradient(152deg, rgba(200, 214, 232, 0.04) 0px, rgba(200, 214, 232, 0.04) 2px, transparent 2px, transparent 26px),
repeating-linear-gradient(64deg, rgba(9, 14, 26, 0.3) 0px, rgba(9, 14, 26, 0.3) 3px, transparent 3px, transparent 40px),
linear-gradient(180deg, var(--rock-navy-1) 0%, var(--rock-navy-2) 45%, var(--rock-navy-1) 75%, var(--rock-navy-0) 100%);
background-attachment: fixed, fixed, fixed, fixed, fixed, fixed;
}
body::before {
content: "";
position: fixed;
inset: 0;
z-index: -1;
pointer-events: none;
opacity: 0.55;
mix-blend-mode: overlay;
background-image:
url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='320' height='320'><filter id='bn'><feTurbulence type='fractalNoise' baseFrequency='0.012 0.06' numOctaves='4' seed='7' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/><feComponentTransfer><feFuncA type='gamma' amplitude='1' exponent='2.2' offset='0'/></feComponentTransfer></filter><rect width='100%' height='100%' filter='url(%23bn)'/></svg>"),
url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='bm'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%' height='100%' filter='url(%23bm)'/></svg>");
background-size: 620px 620px, 180px 180px;
background-attachment: fixed, fixed;
}
/* 全站跟随鼠标的粒子背景(固定在视口,任意页面、任意滚动位置都可见) */
.site-particles {
position: fixed;
inset: 0;
width: 100%;
height: 100%;
z-index: -1;
pointer-events: none;
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}
/* 英雄部分 —— 与全站统一的深海岩层背景(由 body 提供),此处保持透明 */
.hero {
position: relative;
height: 62vh;
min-height: 460px;
max-height: 680px;
overflow: hidden;
background: transparent;
}
.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-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-eyebrow-line {
display: inline-flex;
align-items: baseline;
flex-wrap: wrap;
gap: 0.3em;
font-family: 'JetBrains Mono', monospace;
font-size: 1rem;
font-weight: 500;
letter-spacing: 0.28em;
text-transform: uppercase;
color: var(--ice-blue-dim);
margin-bottom: 20px;
}
.hero-hyphen {
color: var(--electric-blue);
}
.hero-mid-dot {
color: var(--electric-blue);
opacity: 0.85;
}
.hero-main-title {
font-family: 'Noto Serif SC', serif;
font-weight: 900;
font-size: 3.2rem;
line-height: 1.4;
letter-spacing: 0.01em;
color: var(--ice-blue);
text-shadow: 0 0 34px rgba(56, 189, 248, 0.28);
margin-bottom: 0;
}
.hero-dash {
display: inline-block;
color: var(--electric-blue);
font-weight: 500;
margin-right: 0.15em;
opacity: 0.75;
}
.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);
}
/* 向下滚动提示 */
.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-eyebrow-line {
font-size: 0.82rem;
letter-spacing: 0.2em;
justify-content: center;
}
.hero-main-title {
font-size: 2rem;
}
.hero-badge-row {
justify-content: center;
}
.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-main-title {
font-size: 1.6rem;
}
.hero-eyebrow-line {
font-size: 0.7rem;
letter-spacing: 0.14em;
}
}
.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;
}
}