diff --git a/css/style.css b/css/style.css index ae6b786..3a5e090 100644 --- a/css/style.css +++ b/css/style.css @@ -14,6 +14,16 @@ --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 { @@ -29,14 +39,54 @@ body { padding: 0 20px; } -/* 英雄部分 */ +/* 英雄部分 —— 深海岩层背景 */ .hero { position: relative; - height: 40vh; - min-height: 320px; - max-height: 460px; + height: 62vh; + min-height: 460px; + max-height: 680px; overflow: hidden; - background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-purple) 100%); + 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,"); + 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 { @@ -78,8 +128,9 @@ body { width: 100%; height: 100%; object-fit: cover; - opacity: 0.26; + opacity: 0.16; z-index: 0; + filter: grayscale(0.3) brightness(0.7); } .hero-brand-slide::before { @@ -87,11 +138,11 @@ body { position: absolute; inset: 0; z-index: 1; - background: var(--hero-overlay-color); + 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.18; + opacity: 0.1; } .hero-content { @@ -103,8 +154,10 @@ body { } .hero-content h1 { + font-family: 'Orbitron', 'Noto Sans SC', 'Segoe UI', sans-serif; font-size: 2.45rem; - font-weight: bold; + font-weight: 700; + letter-spacing: 0.03em; margin-bottom: 20px; text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); } @@ -116,7 +169,7 @@ body { } .hero-brand-content { - max-width: 920px; + max-width: 960px; padding: 0 20px; margin: 0 auto; } @@ -138,20 +191,62 @@ body { filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.28)); } -.hero-brand-heading h1 { - color: white; - margin-bottom: 0; - text-shadow: none; +.hero-kicker { + display: inline-block; + font-family: 'Orbitron', 'Noto Sans SC', sans-serif; + font-size: 0.95rem; + font-weight: 700; + letter-spacing: 0.35em; + 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: 'Orbitron', 'Noto Sans SC', sans-serif; + font-weight: 900; + letter-spacing: 0.02em; +} + +.hero-line-1 { + display: block; + line-height: 1.35; + font-size: 3.1rem; } -.hero-line-1, .hero-line-2 { display: block; - line-height: 1.4; + 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-line-2 { - margin-left: 5.5rem; +.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 { @@ -337,6 +432,8 @@ body { @media (max-width: 768px) { .hero-brand-heading { gap: 20px; + flex-direction: column; + text-align: center; } .hero-brand-logo { @@ -355,6 +452,24 @@ body { 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 { font-size: 2rem; } diff --git a/index.html b/index.html index 608e776..47bce80 100644 --- a/index.html +++ b/index.html @@ -5,6 +5,9 @@ 海古纪生物科技 - 精准基因组学解决方案 + + + @@ -91,6 +94,7 @@
+