Files
deep/index_new.html
T
2026-04-29 18:53:24 +08:00

1439 lines
70 KiB
HTML

<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>隼瞻科技 - 专用处理器IP与EDA敏捷开发平台领导者</title>
<script src="https://cdn.tailwindcss.com"></script>
<link href="https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/css/font-awesome.min.css" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap" rel="stylesheet">
<script>
tailwind.config = {
theme: {
screens: {
'sm': '640px',
'md': '768px',
'lg': '1024px',
'xl': '1280px',
'2xl': '1536px',
},
extend: {
colors: {
primary: '#3b82f6',
secondary: '#2563eb',
accent: '#60a5fa',
dark: '#0f172a',
light: '#f8fafc',
darkBg: '#1e293b',
darkerBg: '#0a0f1a',
darkCard: '#1e293b',
glow: '#3b82f6'
},
fontFamily: {
inter: ['Inter', 'sans-serif'],
},
},
}
}
</script>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
a, button, [role="button"] {
-webkit-tap-highlight-color: transparent !important;
}
a:focus, button:focus, a:active, button:active {
outline: none !important;
}
html, body {
font-family: 'Inter', sans-serif;
background: #0a0f1a;
color: #e2e8f0;
overflow-x: hidden;
width: 100%;
max-width: 100vw;
}
html {
overflow-x: hidden;
}
/* 全局滚动条美化 */
::-webkit-scrollbar {
width: 8px;
}
::-webkit-scrollbar-track {
background: #1e293b;
}
::-webkit-scrollbar-thumb {
background: #3b82f6;
border-radius: 4px;
}
/* Hero区域背景动画 */
.hero-bg {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
overflow: hidden;
z-index: 0;
}
.hero-bg::before {
content: '';
position: absolute;
top: -50%;
left: -50%;
width: 200%;
height: 200%;
max-width: 200vw;
background:
radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
animation: heroGradient 20s ease-in-out infinite;
}
@keyframes heroGradient {
0%, 100% { transform: translate(0, 0) rotate(0deg); }
25% { transform: translate(5%, 5%) rotate(5deg); }
50% { transform: translate(0, 10%) rotate(0deg); }
75% { transform: translate(-5%, 5%) rotate(-5deg); }
}
/* 网格背景 */
.grid-bg {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-image:
linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
background-size: 50px 50px;
animation: gridMove 30s linear infinite;
}
@keyframes gridMove {
0% { background-position: 0 0; }
100% { background-position: 50px 50px; }
}
/* 粒子效果 */
.particles {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
overflow: hidden;
z-index: 1;
}
.particle {
position: absolute;
width: 4px;
height: 4px;
background: rgba(59, 130, 246, 0.3);
border-radius: 50%;
animation: float 15s infinite ease-in-out;
}
@keyframes float {
0%, 100% { transform: translateY(100vh) scale(0); opacity: 0; }
10% { opacity: 1; }
90% { opacity: 1; }
100% { transform: translateY(-100px) scale(1); opacity: 0; }
}
/* 文字渐变效果 */
.gradient-text {
background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 50%, #8b5cf6 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
/* 发光效果 */
.glow {
box-shadow: 0 0 40px rgba(59, 130, 246, 0.3);
}
.glow-text {
text-shadow: 0 0 30px rgba(59, 130, 246, 0.5);
}
/* 按钮样式 */
.btn-primary {
background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
transition: all 0.3s ease;
position: relative;
overflow: hidden;
color: #ffffff !important;
}
.btn-primary::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
transition: left 0.5s ease;
}
.btn-primary:hover::before {
left: 100%;
}
.btn-primary:hover {
transform: translateY(-2px);
box-shadow: 0 10px 40px rgba(59, 130, 246, 0.4);
color: #ffffff !important;
}
.btn-secondary {
background: rgba(30, 41, 59, 0.8);
border: 1px solid rgba(59, 130, 246, 0.3);
transition: all 0.3s ease;
color: #ffffff !important;
}
.btn-secondary:hover {
border-color: #3b82f6;
background: rgba(59, 130, 246, 0.1);
transform: translateY(-2px);
color: #ffffff !important;
}
/* 卡片样式 */
.card {
background: linear-gradient(145deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.9));
border: 1px solid rgba(59, 130, 246, 0.1);
transition: all 0.4s ease;
position: relative;
overflow: hidden;
}
.card::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 2px;
background: linear-gradient(90deg, transparent, #3b82f6, transparent);
transform: translateX(-100%);
transition: transform 0.5s ease;
}
.card:hover::before {
transform: translateX(100%);
}
.card:hover {
transform: translateY(-8px);
border-color: rgba(59, 130, 246, 0.3);
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px rgba(59, 130, 246, 0.1);
}
/* 产品卡片特效 */
.product-card {
background: linear-gradient(145deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.95));
border: 1px solid rgba(59, 130, 246, 0.15);
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
position: relative;
}
.product-card::after {
content: '';
position: absolute;
inset: 0;
background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
opacity: 0;
transition: opacity 0.4s ease;
pointer-events: none;
}
.product-card:hover::after {
opacity: 1;
}
.product-card:hover {
transform: translateY(-10px) scale(1.02);
border-color: rgba(59, 130, 246, 0.4);
box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4), 0 0 60px rgba(59, 130, 246, 0.15);
}
/* 数字计数动画 */
.stat-number {
font-variant-numeric: tabular-nums;
}
/* 滚动显示动画 */
.reveal {
opacity: 0;
transform: translateY(30px);
transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible {
opacity: 1;
transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
/* 芯片图标动画 */
.chip-icon {
animation: chipPulse 3s ease-in-out infinite;
}
@keyframes chipPulse {
0%, 100% { transform: scale(1); filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.5)); }
50% { transform: scale(1.05); filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.8)); }
}
/* 标签样式 */
.tag {
background: rgba(59, 130, 246, 0.15);
border: 1px solid rgba(59, 130, 246, 0.3);
transition: all 0.3s ease;
}
.tag:hover {
background: rgba(59, 130, 246, 0.25);
border-color: #3b82f6;
}
/* 分割线动画 */
.divider {
height: 4px;
background: linear-gradient(90deg, transparent, #3b82f6, transparent);
border-radius: 2px;
}
/* 导航栏 */
.nav-link {
position: relative;
transition: color 0.3s ease;
}
.nav-link::after {
content: '';
position: absolute;
bottom: -4px;
left: 0;
width: 0;
height: 2px;
background: #3b82f6;
transition: width 0.3s ease;
}
.nav-link:hover::after {
width: 100%;
}
/* 科技线条装饰 */
.tech-line {
position: absolute;
background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.5), transparent);
height: 1px;
animation: techLineMove 3s linear infinite;
}
@keyframes techLineMove {
0% { transform: translateX(-100%); }
100% { transform: translateX(100%); }
}
/* 环形装饰 */
.orbit {
position: absolute;
border: 1px solid rgba(59, 130, 246, 0.2);
border-radius: 50%;
animation: orbit 20s linear infinite;
pointer-events: none;
}
@keyframes orbit {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
/* 脉冲圆点 */
.pulse-dot {
animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot {
0%, 100% { transform: scale(1); opacity: 1; }
50% { transform: scale(1.5); opacity: 0.5; }
}
/* 底部渐变遮罩 */
.gradient-mask {
background: linear-gradient(180deg, transparent 0%, #0a0f1a 100%);
}
/* Logo动画 */
.logo-animate {
animation: logoFloat 6s ease-in-out infinite;
}
@keyframes logoFloat {
0%, 100% { transform: translateY(0); }
50% { transform: translateY(-10px); }
}
/* 滚动指示器 */
.scroll-indicator {
animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
0%, 100% { transform: translateY(0); }
50% { transform: translateY(25px); }
}
/* 流动边框 */
.flowing-border {
position: relative;
}
.flowing-border::before {
content: '';
position: absolute;
inset: -2px;
background: linear-gradient(90deg, #3b82f6, #8b5cf6, #3b82f6);
background-size: 200% 100%;
border-radius: inherit;
z-index: -1;
animation: flowingBorder 3s linear infinite;
}
@keyframes flowingBorder {
0% { background-position: 0% 0%; }
100% { background-position: 200% 0%; }
}
/* 3D卡片效果 */
.card-3d {
transform-style: preserve-3d;
perspective: 1000px;
}
.card-3d:hover {
transform: rotateX(5deg) rotateY(-5deg);
}
/* 打字机效果 */
.typewriter {
overflow: hidden;
border-right: 2px solid #3b82f6;
white-space: nowrap;
animation: typing 3s steps(30) infinite, blink 0.5s step-end infinite alternate;
}
@keyframes typing {
0%, 100% { width: 0; }
50%, 90% { width: 100%; }
}
@keyframes blink {
50% { border-color: transparent; }
}
</style>
</head>
<body>
<!-- ============================================ -->
<!-- Hero区域 -->
<!-- ============================================ -->
<section class="relative min-h-screen flex items-center justify-center overflow-hidden overflow-x-hidden" id="hero-section">
<!-- 星座背景Canvas -->
<canvas id="constellation-canvas" class="absolute top-0 left-0 w-full h-full z-0"></canvas>
<!-- 动态背景 -->
<div class="hero-bg"></div>
<div class="grid-bg"></div>
<!-- 粒子效果 -->
<div class="particles" id="particles"></div>
<!-- 装饰元素 - 移动端隐藏或限制 -->
<div class="orbit w-[600px] h-[600px] -top-[200px] -right-[200px] hidden md:block" style="animation-duration: 30s;"></div>
<div class="orbit w-[400px] h-[400px] -bottom-[100px] -left-[100px] hidden md:block" style="animation-duration: 25s; animation-direction: reverse;"></div>
<!-- Hero内容 -->
<div class="relative z-10 max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 text-center">
<!-- 标签 -->
<div class="inline-flex items-center space-x-2 px-4 py-2 rounded-full bg-primary/10 border border-primary/30 mb-8 reveal">
<span class="pulse-dot w-2 h-2 bg-green-400 rounded-full"></span>
<span class="text-sm text-gray-300">面向特定场景优化的DSA先进设计范式</span>
</div>
<!-- 主标题 -->
<h1 class="text-4xl sm:text-5xl md:text-6xl lg:text-7xl font-extrabold text-white leading-tight mb-6 reveal reveal-delay-1">
领先的全场景<br/>
<span class="gradient-text">处理器IP 提供商</span>
</h1>
<!-- 副标题 -->
<p class="text-lg sm:text-xl md:text-2xl text-gray-400 max-w-4xl mx-auto mb-12 reveal reveal-delay-2">
以 RISC-V 为核心,打造覆盖 CPU、DSP、NPU 的完整处理器 IP 矩阵,<br class="hidden sm:block"/>
全周期可重构,为多维应用场景提供澎湃算力引擎
</p>
<!-- CTA按钮 -->
<div class="flex flex-col sm:flex-row items-center justify-center gap-4 mb-16 reveal reveal-delay-3">
<a href="#products" class="btn-primary px-8 py-4 rounded-xl text-white font-semibold text-lg flex items-center space-x-2">
<span>探索产品</span>
<i class="fa fa-arrow-right"></i>
</a>
</div>
<!-- 核心数据展示 -->
<div class="grid grid-cols-2 md:grid-cols-4 gap-6 max-w-4xl mx-auto reveal reveal-delay-4">
<div class="text-center p-4">
<div class="text-3xl sm:text-4xl font-bold gradient-text stat-number" data-target="20" data-suffix="+">0+</div>
<div class="text-sm text-gray-400 mt-2">处理器IP型号</div>
</div>
<div class="text-center p-4">
<div class="text-3xl sm:text-4xl font-bold gradient-text stat-number" data-target="30" data-suffix="+">0+</div>
<div class="text-sm text-gray-400 mt-2">知识产权</div>
</div>
<div class="text-center p-4">
<div class="text-3xl sm:text-4xl font-bold gradient-text stat-number" data-target="80" data-suffix="+">0+</div>
<div class="text-sm text-gray-400 mt-2">专业技术人员</div>
</div>
<div class="text-center p-4">
<div class="text-3xl sm:text-4xl font-bold gradient-text stat-number" data-target="8" data-suffix="+">0+</div>
<div class="text-sm text-gray-400 mt-2">行业解决方案</div>
</div>
</div>
</div>
<!-- 滚动指示器 -->
<div class="absolute bottom-8 left-1/2 -translate-x-1/2 scroll-indicator">
<div class="flex flex-col items-center space-y-2 text-gray-500">
<span class="text-sm">向下滚动</span>
<i class="fa fa-chevron-down text-2xl"></i>
</div>
</div>
</section>
<!-- ============================================ -->
<!-- 公司简介 -->
<!-- ============================================ -->
<section class="py-24 relative overflow-hidden">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="grid lg:grid-cols-2 gap-16 items-center">
<!-- 左侧文字 -->
<div class="reveal">
<div class="inline-flex items-center space-x-2 px-4 py-2 rounded-full bg-primary/10 border border-primary/30 mb-6">
<i class="fa fa-building text-primary"></i>
<span class="text-sm text-gray-300">关于隼瞻科技</span>
</div>
<h2 class="text-3xl sm:text-4xl lg:text-5xl font-bold text-white mb-6">
定义未来芯片设计的<br/><span class="gradient-text">新范式</span>
</h2>
<p class="text-gray-400 text-lg leading-relaxed mb-8">
隼瞻科技是一家专注于提供专用处理器IP和EDA设计平台的创新型高科技公司。基于"算法芯片化,场景架构化"的理念,我们致力于为客户提供从硅前到硅后全周期可重构的处理器集群方案。
</p>
<div class="space-y-4 mb-8">
<div class="flex items-start space-x-4">
<div class="w-10 h-10 rounded-lg bg-primary/20 flex items-center justify-center flex-shrink-0">
<i class="fa fa-check text-primary"></i>
</div>
<div>
<h4 class="text-white font-semibold mb-1">全栈RISC-V处理器IP</h4>
<p class="text-gray-400 text-sm">从嵌入式微控制器到高性能应用处理器的完整产品线</p>
</div>
</div>
<div class="flex items-start space-x-4">
<div class="w-10 h-10 rounded-lg bg-primary/20 flex items-center justify-center flex-shrink-0">
<i class="fa fa-check text-primary"></i>
</div>
<div>
<h4 class="text-white font-semibold mb-1">ArchitStudio敏捷开发平台</h4>
<p class="text-gray-400 text-sm">革命性的DSA处理器设计方法学,大幅降低开发周期与成本</p>
</div>
</div>
<div class="flex items-start space-x-4">
<div class="w-10 h-10 rounded-lg bg-primary/20 flex items-center justify-center flex-shrink-0">
<i class="fa fa-check text-primary"></i>
</div>
<div>
<h4 class="text-white font-semibold mb-1">端到端解决方案</h4>
<p class="text-gray-400 text-sm">覆盖AI、工业控制、通信连接等多个应用领域</p>
</div>
</div>
</div>
<a href="about.html" class="inline-flex items-center space-x-2 text-primary hover:text-accent transition-colors">
<span class="font-semibold">了解更多</span>
<i class="fa fa-arrow-right"></i>
</a>
</div>
<!-- 右侧图形 -->
<div class="relative reveal reveal-delay-2">
<div class="relative aspect-square max-w-lg mx-auto">
<!-- 背景装饰 -->
<div class="absolute inset-0 bg-gradient-to-br from-primary/20 to-purple-600/20 rounded-3xl blur-3xl"></div>
<!-- 主卡片 -->
<div class="relative bg-darkCard/80 backdrop-blur-xl rounded-3xl border border-white/10 p-8 h-full flex flex-col justify-center">
<!-- 芯片图形 -->
<div class="flex justify-center mb-8">
<div class="relative">
<div class="w-32 h-32 bg-gradient-to-br from-primary to-purple-600 rounded-2xl flex items-center justify-center chip-icon">
<i class="fa fa-microchip text-white text-5xl"></i>
</div>
<!-- 连接线 -->
<div class="absolute -left-8 top-1/2 w-8 h-0.5 bg-gradient-to-r from-transparent to-primary"></div>
<div class="absolute -right-8 top-1/2 w-8 h-0.5 bg-gradient-to-l from-transparent to-primary"></div>
<div class="absolute left-1/2 -top-8 w-0.5 h-8 bg-gradient-to-b from-transparent to-primary"></div>
<div class="absolute left-1/2 -bottom-8 w-0.5 h-8 bg-gradient-to-t from-transparent to-primary"></div>
</div>
</div>
<!-- 2+N战略 -->
<div class="text-center">
<h3 class="text-2xl font-bold text-white mb-4">2+N 平台战略</h3>
<div class="grid grid-cols-3 gap-4">
<div class="p-3 rounded-xl pt-4 bg-primary/10 border border-primary/20">
<i class="fa fa-microchip text-primary text-xl mb-2"></i>
<p class="text-xs text-gray-300">基础IP</p>
</div>
<div class="p-3 rounded-xl pt-4 bg-orange-500/10 border border-orange-500/20">
<i class="fa fa-cogs text-orange-400 text-xl mb-2"></i>
<p class="text-xs text-gray-300">开发平台</p>
</div>
<div class="p-3 rounded-xl pt-4 bg-green-500/10 border border-green-500/20">
<i class="fa fa-th text-green-400 text-xl mb-2"></i>
<p class="text-xs text-gray-300">N种应用</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- ============================================ -->
<!-- 产品矩阵 -->
<!-- ============================================ -->
<section id="products" class="py-24 bg-gradient-to-b from-darkerBg to-darkBg relative">
<!-- 背景装饰 -->
<div class="absolute inset-0 opacity-30">
<div class="absolute top-0 left-1/4 w-96 h-96 bg-primary/10 rounded-full blur-[100px]"></div>
<div class="absolute bottom-0 right-1/4 w-96 h-96 bg-purple-600/10 rounded-full blur-[100px]"></div>
</div>
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 relative z-10">
<!-- 标题 -->
<div class="text-center mb-16 reveal">
<div class="inline-flex items-center space-x-2 px-4 py-2 rounded-full bg-primary/10 border border-primary/30 mb-6">
<i class="fa fa-cubes text-primary"></i>
<span class="text-sm text-gray-300">完整的处理器货架集群</span>
</div>
<h2 class="text-3xl sm:text-4xl lg:text-5xl font-bold text-white mb-4">
三大核心<span class="gradient-text">处理器IP</span>板块
</h2>
<p class="text-gray-400 text-lg max-w-2xl mx-auto">
覆盖极低功耗应用到高性能全场景数字算力,满足多维度需求
</p>
</div>
<!-- 产品系列 -->
<div class="grid md:grid-cols-2 lg:grid-cols-3 gap-8 mb-16">
<!-- CPU IP -->
<div class="product-card rounded-2xl p-8 reveal reveal-delay-1 flex flex-col">
<div class="flex items-center justify-between mb-6">
<div class="w-14 h-14 rounded-xl bg-gradient-to-br from-emerald-500 to-teal-600 flex items-center justify-center">
<i class="fa fa-microchip text-white text-2xl"></i>
</div>
<span class="tag px-3 py-1 rounded-full text-xs text-emerald-400">Wing-M/A</span>
</div>
<h3 class="text-2xl font-bold text-white mb-3">CPU IP</h3>
<p class="text-gray-400 mb-6 text-sm">以RISC-V架构为核心,构建覆盖小核、中核、大核的完整产品矩阵,全面满足不同终端的算力需求。</p>
<div class="space-y-3 mb-6">
<div class="flex items-center justify-between p-3 rounded-lg bg-white/5 hover:bg-white/10 transition-colors group">
<span class="text-gray-300 group-hover:text-white text-sm">量产型/专用小核</span>
<span class="text-xs text-gray-500">MCU/IoT/工控/汽车/安全</span>
</div>
<div class="flex items-center justify-between p-3 rounded-lg bg-white/5 hover:bg-white/10 transition-colors group">
<span class="text-gray-300 group-hover:text-white text-sm">通用中核</span>
<span class="text-xs text-gray-500">通信/工控/存储等</span>
</div>
<div class="flex items-center justify-between p-3 rounded-lg bg-white/5 hover:bg-white/10 transition-colors group">
<span class="text-gray-300 group-hover:text-white text-sm">通用大核</span>
<span class="text-xs text-gray-500">AP/端侧AI/PC/服务器</span>
</div>
</div>
<div class="flex flex-wrap gap-2 mt-auto">
<span class="text-xs px-2 py-1 rounded bg-emerald-500/10 text-emerald-400">完整生态</span>
<span class="text-xs px-2 py-1 rounded bg-emerald-500/10 text-emerald-400">全终端覆盖</span>
</div>
</div>
<!-- DSP IP -->
<div class="product-card rounded-2xl p-8 reveal reveal-delay-2 flex flex-col">
<div class="flex items-center justify-between mb-6">
<div class="w-14 h-14 rounded-xl bg-gradient-to-br from-blue-500 to-indigo-600 flex items-center justify-center">
<i class="fa fa-wifi text-white text-2xl"></i>
</div>
<span class="tag px-3 py-1 rounded-full text-xs text-blue-400">Wing-D</span>
</div>
<h3 class="text-2xl font-bold text-white mb-3">DSP IP</h3>
<p class="text-gray-400 mb-6 text-sm">聚焦5G通信核心场景,同时适配轻量级AI运算与HIFI音频处理需求,提供高效极致算力支撑。</p>
<div class="space-y-3 mb-6">
<div class="flex items-center justify-between p-3 rounded-lg bg-white/5 hover:bg-white/10 transition-colors group">
<span class="text-gray-300 group-hover:text-white text-sm w-full">Wing-D200 矢量处理器</span>
</div>
<div class="flex items-center justify-between p-3 rounded-lg bg-white/5 hover:bg-white/10 transition-colors group">
<span class="text-gray-300 group-hover:text-white text-sm w-full">Wing-D400-VL 矢量处理器</span>
</div>
<div class="flex flex-col p-3 rounded-lg border border-blue-500/20 bg-blue-500/5">
<span class="text-sm text-blue-300 mb-1"><i class="fa fa-crosshairs mr-1"></i>聚焦场景</span>
<span class="text-xs text-gray-400">5G通信 / 轻量级AI / HIFI音频</span>
</div>
</div>
<div class="flex flex-wrap gap-2 mt-auto">
<span class="text-xs px-2 py-1 rounded bg-blue-500/10 text-blue-400">专用架构设计</span>
<span class="text-xs px-2 py-1 rounded bg-blue-500/10 text-blue-400">精准高效</span>
</div>
</div>
<!-- NPU IP -->
<div class="product-card rounded-2xl p-8 reveal reveal-delay-3 flex flex-col md:col-span-2 lg:col-span-1">
<div class="flex items-center justify-between mb-6">
<div class="w-14 h-14 rounded-xl bg-gradient-to-br from-purple-500 to-pink-600 flex items-center justify-center">
<i class="fa fa-cogs text-white text-2xl"></i>
</div>
<span class="tag px-3 py-1 rounded-full text-xs text-purple-400">Wing-N/P/M</span>
</div>
<h3 class="text-2xl font-bold text-white mb-3">NPU IP</h3>
<p class="text-gray-400 mb-6 text-sm">构建覆盖端侧、边缘、云端的全场景神经网络处理器方案,灵活匹配不同层级运算需求。</p>
<div class="space-y-4 mb-6">
<div class="flex justify-between items-center p-3 rounded-lg bg-white/5 hover:bg-white/10 transition-colors group border-l-2 border-purple-400">
<div class="flex flex-col">
<span class="text-sm text-gray-300 group-hover:text-white">端侧 AI</span>
<span class="text-xs text-gray-500">各类 IoT 设备</span>
</div>
<span class="text-purple-400 font-mono text-sm">0-4T</span>
</div>
<div class="flex justify-between items-center p-3 rounded-lg bg-white/5 hover:bg-white/10 transition-colors group border-l-2 border-purple-500">
<div class="flex flex-col">
<span class="text-sm text-gray-300 group-hover:text-white">边缘 AI</span>
<span class="text-xs text-gray-500">智能汽车 / 服务器边缘端</span>
</div>
<span class="text-purple-400 font-mono text-sm">4-64T</span>
</div>
<div class="flex justify-between items-center p-3 rounded-lg bg-white/5 hover:bg-white/10 transition-colors group border-l-2 border-pink-500">
<div class="flex flex-col">
<span class="text-sm text-gray-300 group-hover:text-white">云端 AI</span>
<span class="text-xs text-gray-500">大数据平台应用</span>
</div>
<span class="text-pink-400 font-mono text-sm">> 200T</span>
</div>
</div>
<div class="flex flex-wrap gap-2 mt-auto">
<span class="text-xs px-2 py-1 rounded bg-purple-500/10 text-purple-400">全场景分布</span>
<span class="text-xs px-2 py-1 rounded bg-purple-500/10 text-purple-400">算力梯度清晰</span>
</div>
</div>
</div>
<!-- 探索产品货架 按钮 -->
<div class="mt-12 flex justify-center reveal">
<a href="ip_matrix" class="btn-primary px-8 py-4 rounded-xl text-white font-semibold text-lg inline-flex items-center space-x-2">
<span>探索产品货架</span>
<i class="fa fa-arrow-right"></i>
</a>
</div>
</div>
</section>
<!-- ============================================ -->
<!-- ArchitStudio 独立板块 -->
<!-- ============================================ -->
<section id="architstudio" class="py-24 bg-gradient-to-b from-darkBg to-darkerBg relative overflow-hidden">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="grid lg:grid-cols-2 gap-16 items-center">
<div class="reveal">
<div class="inline-flex items-center space-x-2 px-4 py-2 rounded-full bg-orange-500/10 border border-orange-500/30 mb-6">
<i class="fa fa-magic text-orange-400"></i>
<span class="text-sm text-gray-300">基于革命性的DSA处理器设计方法学</span>
</div>
<h2 class="text-3xl sm:text-4xl lg:text-5xl font-bold text-white mb-6">
国内最优秀的EDA处理器敏捷开发平台<br/><span class="text-orange-400">ArchitStudio</span>
</h2>
<p class="text-gray-400 text-lg leading-relaxed mb-8">
基于“算法芯片化,场景架构化”理念,加速 DSA 设计与落地。让开发者摆脱底层繁复工作,一键生成全周期工具链与 SDK,重新定义定制处理器开发。
</p>
<div class="grid grid-cols-2 gap-6 mb-8">
<div class="flex items-start space-x-4">
<div class="w-10 h-10 rounded-lg bg-orange-500/20 flex items-center justify-center flex-shrink-0">
<i class="fa fa-bolt text-orange-400"></i>
</div>
<div>
<h4 class="text-white font-semibold mb-1">10倍效率提升</h4>
<p class="text-gray-400 text-xs">大幅缩短产品上市周期</p>
</div>
</div>
<div class="flex items-start space-x-4">
<div class="w-10 h-10 rounded-lg bg-orange-500/20 flex items-center justify-center flex-shrink-0">
<i class="fa fa-puzzle-piece text-orange-400"></i>
</div>
<div>
<h4 class="text-white font-semibold mb-1">软硬件协同</h4>
<p class="text-gray-400 text-xs">从工具链到RTL同步全自动生成</p>
</div>
</div>
<div class="flex items-start space-x-4">
<div class="w-10 h-10 rounded-lg bg-orange-500/20 flex items-center justify-center flex-shrink-0">
<i class="fa fa-check-circle text-orange-400"></i>
</div>
<div>
<h4 class="text-white font-semibold mb-1">统一编程接口</h4>
<p class="text-gray-400 text-xs">类 C 语言开发降低定制门槛</p>
</div>
</div>
<div class="flex items-start space-x-4">
<div class="w-10 h-10 rounded-lg bg-orange-500/20 flex items-center justify-center flex-shrink-0">
<i class="fa fa-cogs text-orange-400"></i>
</div>
<div>
<h4 class="text-white font-semibold mb-1">一键生成交付包</h4>
<p class="text-gray-400 text-xs">自动生成编译/仿真验证全环境</p>
</div>
</div>
</div>
<a href="architstudio-2" class="inline-flex items-center justify-center space-x-2 !text-white hover:!text-white bg-gradient-to-r from-orange-500 to-red-600 hover:from-orange-600 hover:to-red-700 transition-all px-8 py-4 rounded-xl text-lg font-medium w-max shadow-lg shadow-orange-500/30">
<span>深入探索 ArchitStudio</span>
<i class="fa fa-arrow-right"></i>
</a>
</div>
<!-- Graphic Side -->
<div class="relative reveal reveal-delay-2">
<div class="absolute inset-0 bg-gradient-to-br from-orange-500/20 to-red-600/20 rounded-3xl blur-3xl"></div>
<div class="relative bg-darkCard/80 backdrop-blur-xl rounded-3xl border border-white/10 p-8 h-full flex flex-col justify-center min-h-[400px]">
<div class="absolute -right-8 -top-8 opacity-20">
<i class="fa fa-cogs text-8xl text-orange-400"></i>
</div>
<!-- Flow Diagram Idea from architstudio -->
<div class="relative z-10 flex flex-col items-center gap-6 mt-4">
<div class="bg-darkerBg p-4 rounded-xl border border-orange-500/30 shadow-lg text-center w-full max-w-[200px]">
<span class="text-orange-400 font-bold block mb-1">RISCAL 设计指令</span>
<span class="text-xs text-gray-400">统一软硬件描述</span>
</div>
<div class="flex space-x-12">
<i class="fa fa-long-arrow-down text-gray-500 text-xl"></i>
<i class="fa fa-long-arrow-down text-gray-500 text-xl"></i>
</div>
<div class="flex justify-between gap-4 w-full">
<div class="bg-gray-800/80 p-4 rounded-xl border border-gray-700 text-center w-1/2">
<div class="text-blue-400 font-bold mb-2">SDK 软件栈</div>
<p class="text-xs text-gray-400">编译器, 工具链<br>模拟器, 调试器</p>
</div>
<div class="bg-gray-800/80 p-4 rounded-xl border border-gray-700 text-center w-1/2">
<div class="text-indigo-400 font-bold mb-2">HDK 硬件栈</div>
<p class="text-xs text-gray-400">硬件 RTL, 仿真<br>一致性验证环境</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- ============================================ -->
<!-- 智翼端侧AI 独立板块 -->
<!-- ============================================ -->
<section id="wingsemi-ai" class="py-24 bg-gradient-to-b from-darkerBg to-darkBg relative overflow-hidden">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="grid lg:grid-cols-2 gap-16 items-center">
<!-- Graphic Side -->
<div class="relative reveal order-2 lg:order-1">
<div class="absolute inset-0 bg-gradient-to-br from-blue-500/20 to-indigo-600/20 rounded-3xl blur-3xl"></div>
<div class="relative bg-darkCard/80 backdrop-blur-xl rounded-3xl border border-white/10 p-8 h-full">
<div class="mb-6 flex justify-between items-end border-b border-gray-700 pb-4">
<div>
<h3 class="text-2xl font-bold text-white">“智翼”系列 Roadmap</h3>
<p class="text-sm text-gray-400">全场景覆盖端脑融合</p>
</div>
<i class="fa fa-sitemap text-3xl text-blue-500/50"></i>
</div>
<div class="space-y-4">
<!-- Roadmap cards -->
<div class="bg-darkBg p-4 rounded-xl border border-gray-700 hover:border-blue-500/50 transition-colors flex justify-between items-center group">
<div>
<h4 class="text-blue-400 font-bold mb-1 text-lg group-hover:text-blue-300">轻翊 <span class="text-xs text-gray-500 font-normal ml-2">入门级</span></h4>
<p class="text-xs text-gray-400">AI MCU / 目标识别</p>
</div>
<div class="text-sm font-semibold text-green-400 bg-green-400/10 px-3 py-1.5 rounded">0.1-0.5 TOPS</div>
</div>
<div class="bg-darkBg p-4 rounded-xl border border-gray-700 hover:border-blue-500/50 transition-colors flex justify-between items-center group">
<div>
<h4 class="text-blue-400 font-bold mb-1 text-lg group-hover:text-blue-300">翔风 <span class="text-xs text-gray-500 font-normal ml-2">中端交互</span></h4>
<p class="text-xs text-gray-400">语音/手势/人脸识别</p>
</div>
<div class="text-sm font-semibold text-green-400 bg-green-400/10 px-3 py-1.5 rounded">0.5-2 TOPS</div>
</div>
<div class="bg-darkBg p-4 rounded-xl border border-gray-700 hover:border-blue-500/50 transition-colors flex justify-between items-center group">
<div>
<h4 class="text-blue-400 font-bold mb-1 text-lg group-hover:text-blue-300">凌云 <span class="text-xs text-gray-500 font-normal ml-2">高端视觉</span></h4>
<p class="text-xs text-gray-400">机器视觉 / 目标分类</p>
</div>
<div class="text-sm font-semibold text-green-400 bg-green-400/10 px-3 py-1.5 rounded">1-8 TOPS</div>
</div>
<div class="bg-gradient-to-r from-blue-900/40 to-darkBg p-4 rounded-xl border border-primary/50 shadow-[0_0_15px_rgba(59,130,246,0.2)] flex justify-between items-center group relative overflow-hidden">
<div class="absolute right-0 top-0 h-full w-1 bg-primary"></div>
<div>
<h4 class="text-primary font-bold mb-1 text-lg group-hover:text-blue-300">御空 <span class="text-xs text-blue-300 font-normal ml-2">旗舰算力</span></h4>
<p class="text-xs text-gray-300">大模型(LLM/VLM)本地部署</p>
</div>
<div class="text-sm font-bold text-primary bg-primary/10 px-3 py-1.5 rounded border border-primary/30">4-64 TOPS</div>
</div>
</div>
</div>
</div>
<div class="reveal reveal-delay-2 order-1 lg:order-2">
<div class="inline-flex items-center space-x-2 px-4 py-2 rounded-full bg-blue-500/10 border border-blue-500/30 mb-6">
<i class="fa fa-android text-blue-400"></i>
<span class="text-sm text-gray-300">CPU+NPU融合解决方案</span>
</div>
<h2 class="text-3xl sm:text-4xl lg:text-5xl font-bold text-white mb-6">
<span class="gradient-text">智翼端侧AI</span> 生态体系
</h2>
<p class="text-gray-400 text-lg leading-relaxed mb-8">
基于隼瞻 RISC-V 处理器 IP 和 ArchitStudio 平台,打造从硅前到硅后全周期可重构的端侧 AI 处理器集群方案。统一处理架构(归一化算子)结合NPU阵列,实现高性能与高能效完美融合。
</p>
<ul class="space-y-4 mb-8">
<li class="flex items-start">
<i class="fa fa-check text-blue-400 mt-1 mr-3"></i>
<span class="text-gray-300"><strong>Archit Fusion AI 架构:</strong> 将复杂AI算法抽象为核心特征算子,极大提高硬件资源利用率。</span>
</li>
<li class="flex items-start">
<i class="fa fa-check text-blue-400 mt-1 mr-3"></i>
<span class="text-gray-300"><strong>全栈一体化工具:</strong> 配套量化编译、一致性仿真、模型优化服务的 NPU “瑞士军刀” 级软件栈。</span>
</li>
<li class="flex items-start">
<i class="fa fa-check text-blue-400 mt-1 mr-3"></i>
<span class="text-gray-300"><strong>全场景无缝适应:</strong> 灵活匹配从入门级 MCU 到旗舰大模型端侧部署的各个层级算力需求。</span>
</li>
</ul>
<a href="智翼端侧ai解决方案" class="inline-flex items-center justify-center space-x-2 !text-white hover:!text-white bg-gradient-to-r from-blue-600 to-indigo-600 hover:from-blue-700 hover:to-indigo-700 transition-all px-8 py-4 rounded-xl text-lg font-medium w-max shadow-lg shadow-blue-500/30">
<span>探索端侧 AI 解决方案</span>
<i class="fa fa-arrow-right"></i>
</a>
</div>
</div>
</div>
</section>
<!-- ============================================ -->
<!-- 应用领域 -->
<!-- ============================================ -->
<section id="technology" class="py-24 bg-gradient-to-b from-darkBg to-darkerBg relative">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<!-- 标题 -->
<div class="text-center mb-16 reveal">
<div class="inline-flex items-center space-x-2 px-4 py-2 rounded-full bg-primary/10 border border-primary/30 mb-6">
<i class="fa fa-globe text-primary"></i>
<span class="text-sm text-gray-300">应用领域</span>
</div>
<h2 class="text-3xl sm:text-4xl lg:text-5xl font-bold text-white mb-4">
赋能<span class="gradient-text">N个专用领域</span>
</h2>
<p class="text-gray-400 text-lg max-w-2xl mx-auto">
隼瞻科技的处理器IP广泛应用于人工智能、通信、工业、安全等多个领域
</p>
</div>
<!-- 应用领域网格 -->
<div class="grid grid-cols-2 md:grid-cols-3 lg:grid-cols-6 gap-6">
<div class="card rounded-2xl p-6 text-center reveal reveal-delay-1 group">
<div class="w-16 h-16 mx-auto rounded-xl bg-gradient-to-br from-blue-500/20 to-blue-600/20 flex items-center justify-center mb-4 group-hover:scale-110 transition-transform">
<i class="fa fa-android text-blue-400 text-2xl"></i>
</div>
<h4 class="text-white font-semibold mb-2">人工智能</h4>
<p class="text-xs text-gray-500">边缘AI / 具身智能</p>
</div>
<div class="card rounded-2xl p-6 text-center reveal reveal-delay-1 group">
<div class="w-16 h-16 mx-auto rounded-xl bg-gradient-to-br from-green-500/20 to-green-600/20 flex items-center justify-center mb-4 group-hover:scale-110 transition-transform">
<i class="fa fa-wifi text-green-400 text-2xl"></i>
</div>
<h4 class="text-white font-semibold mb-2">通信连接</h4>
<p class="text-xs text-gray-500">5G/6G / IoT</p>
</div>
<div class="card rounded-2xl p-6 text-center reveal reveal-delay-2 group">
<div class="w-16 h-16 mx-auto rounded-xl bg-gradient-to-br from-orange-500/20 to-orange-600/20 flex items-center justify-center mb-4 group-hover:scale-110 transition-transform">
<i class="fa fa-industry text-orange-400 text-2xl"></i>
</div>
<h4 class="text-white font-semibold mb-2">工业控制</h4>
<p class="text-xs text-gray-500">电机驱动 / PLC</p>
</div>
<div class="card rounded-2xl p-6 text-center reveal reveal-delay-2 group">
<div class="w-16 h-16 mx-auto rounded-xl bg-gradient-to-br from-red-500/20 to-red-600/20 flex items-center justify-center mb-4 group-hover:scale-110 transition-transform">
<i class="fa fa-car text-red-400 text-2xl"></i>
</div>
<h4 class="text-white font-semibold mb-2">汽车电子</h4>
<p class="text-xs text-gray-500">ADAS / 车载</p>
</div>
<div class="card rounded-2xl p-6 text-center reveal reveal-delay-3 group">
<div class="w-16 h-16 mx-auto rounded-xl bg-gradient-to-br from-purple-500/20 to-purple-600/20 flex items-center justify-center mb-4 group-hover:scale-110 transition-transform">
<i class="fa fa-shield text-purple-400 text-2xl"></i>
</div>
<h4 class="text-white font-semibold mb-2">安全芯片</h4>
<p class="text-xs text-gray-500">加密 / 认证</p>
</div>
<div class="card rounded-2xl p-6 text-center reveal reveal-delay-3 group">
<div class="w-16 h-16 mx-auto rounded-xl bg-gradient-to-br from-cyan-500/20 to-cyan-600/20 flex items-center justify-center mb-4 group-hover:scale-110 transition-transform">
<i class="fa fa-home text-cyan-400 text-2xl"></i>
</div>
<h4 class="text-white font-semibold mb-2">消费电子</h4>
<p class="text-xs text-gray-500">智能家居 / 可穿戴</p>
</div>
</div>
</div>
</section>
<!-- ============================================ -->
<!-- 技术优势 -->
<!-- ============================================ -->
<section class="py-24 relative overflow-hidden">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<!-- 标题 -->
<div class="text-center mb-16 reveal">
<div class="inline-flex items-center space-x-2 px-4 py-2 rounded-full bg-primary/10 border border-primary/30 mb-6">
<i class="fa fa-star text-primary"></i>
<span class="text-sm text-gray-300">核心优势</span>
</div>
<h2 class="text-3xl sm:text-4xl lg:text-5xl font-bold text-white mb-4">
为什么选择<span class="gradient-text">隼瞻科技</span>
</h2>
</div>
<!-- 优势卡片 -->
<div class="grid md:grid-cols-2 lg:grid-cols-4 gap-8">
<div class="card rounded-2xl p-8 text-center reveal reveal-delay-1">
<div class="w-20 h-20 mx-auto rounded-2xl bg-gradient-to-br from-blue-500 to-blue-600 flex items-center justify-center mb-6">
<i class="fa fa-bolt text-white text-3xl"></i>
</div>
<h3 class="text-xl font-bold text-white mb-3">高性能低功耗</h3>
<p class="text-gray-400 text-sm">先进的微架构设计,实现性能与功耗的最优平衡</p>
</div>
<div class="card rounded-2xl p-8 text-center reveal reveal-delay-2">
<div class="w-20 h-20 mx-auto rounded-2xl bg-gradient-to-br from-green-500 to-green-600 flex items-center justify-center mb-6">
<i class="fa fa-cogs text-white text-3xl"></i>
</div>
<h3 class="text-xl font-bold text-white mb-3">高度可配置</h3>
<p class="text-gray-400 text-sm">灵活的参数配置,满足不同应用场景的定制需求</p>
</div>
<div class="card rounded-2xl p-8 text-center reveal reveal-delay-3">
<div class="w-20 h-20 mx-auto rounded-2xl bg-gradient-to-br from-purple-500 to-purple-600 flex items-center justify-center mb-6">
<i class="fa fa-check-circle text-white text-3xl"></i>
</div>
<h3 class="text-xl font-bold text-white mb-3">硅验证保障</h3>
<p class="text-gray-400 text-sm">经过充分硅验证的IP,确保设计可靠性与稳定性</p>
</div>
<div class="card rounded-2xl p-8 text-center reveal reveal-delay-4">
<div class="w-20 h-20 mx-auto rounded-2xl bg-gradient-to-br from-orange-500 to-orange-600 flex items-center justify-center mb-6">
<i class="fa fa-users text-white text-3xl"></i>
</div>
<h3 class="text-xl font-bold text-white mb-3">专业技术支持</h3>
<p class="text-gray-400 text-sm">资深专家团队提供全程技术支持与定制服务</p>
</div>
</div>
</div>
</section>
<!-- JavaScript -->
<script>
// ====== 星座背景效果 ======
class ConstellationBackground {
constructor() {
this.canvas = document.getElementById('constellation-canvas');
this.ctx = this.canvas.getContext('2d');
this.particles = [];
this.mouse = { x: null, y: null, radius: 150 };
this.particleCount = 120;
this.connectionDistance = 150;
this.mouseInfluenceRadius = 200;
this.init();
this.animate();
this.addEventListeners();
}
init() {
this.resize();
this.createParticles();
}
resize() {
const heroSection = document.getElementById('hero-section');
this.canvas.width = heroSection.offsetWidth;
this.canvas.height = heroSection.offsetHeight;
}
createParticles() {
this.particles = [];
for (let i = 0; i < this.particleCount; i++) {
this.particles.push({
x: Math.random() * this.canvas.width,
y: Math.random() * this.canvas.height,
vx: (Math.random() - 0.5) * 0.5,
vy: (Math.random() - 0.5) * 0.5,
radius: Math.random() * 2 + 1,
baseRadius: Math.random() * 2 + 1,
color: this.getRandomColor(),
pulseSpeed: Math.random() * 0.02 + 0.01,
pulseOffset: Math.random() * Math.PI * 2
});
}
}
getRandomColor() {
const colors = [
'rgba(59, 130, 246, 0.4)', // 蓝色
'rgba(96, 165, 250, 0.4)', // 浅蓝色
'rgba(139, 92, 246, 0.35)', // 紫色
'rgba(147, 197, 253, 0.3)', // 淡蓝色
'rgba(255, 255, 255, 0.5)' // 白色
];
return colors[Math.floor(Math.random() * colors.length)];
}
addEventListeners() {
window.addEventListener('resize', () => {
this.resize();
this.createParticles();
});
const heroSection = document.getElementById('hero-section');
heroSection.addEventListener('mousemove', (e) => {
const rect = this.canvas.getBoundingClientRect();
this.mouse.x = e.clientX - rect.left;
this.mouse.y = e.clientY - rect.top;
});
heroSection.addEventListener('mouseleave', () => {
this.mouse.x = null;
this.mouse.y = null;
});
}
drawParticle(particle, time) {
// 脉冲效果
const pulse = Math.sin(time * particle.pulseSpeed + particle.pulseOffset) * 0.5 + 0.5;
const currentRadius = particle.baseRadius + pulse * 1.5;
// 发光效果
const gradient = this.ctx.createRadialGradient(
particle.x, particle.y, 0,
particle.x, particle.y, currentRadius * 3
);
gradient.addColorStop(0, particle.color);
gradient.addColorStop(0.5, particle.color.replace('0.8', '0.3').replace('0.7', '0.2').replace('0.6', '0.15').replace('0.9', '0.4'));
gradient.addColorStop(1, 'transparent');
this.ctx.beginPath();
this.ctx.arc(particle.x, particle.y, currentRadius * 3, 0, Math.PI * 2);
this.ctx.fillStyle = gradient;
this.ctx.fill();
// 核心点
this.ctx.beginPath();
this.ctx.arc(particle.x, particle.y, currentRadius, 0, Math.PI * 2);
this.ctx.fillStyle = particle.color;
this.ctx.fill();
}
drawConnections() {
for (let i = 0; i < this.particles.length; i++) {
for (let j = i + 1; j < this.particles.length; j++) {
const dx = this.particles[i].x - this.particles[j].x;
const dy = this.particles[i].y - this.particles[j].y;
const distance = Math.sqrt(dx * dx + dy * dy);
if (distance < this.connectionDistance) {
const opacity = (1 - distance / this.connectionDistance) * 0.5;
this.ctx.beginPath();
this.ctx.moveTo(this.particles[i].x, this.particles[i].y);
this.ctx.lineTo(this.particles[j].x, this.particles[j].y);
this.ctx.strokeStyle = `rgba(59, 130, 246, ${opacity})`;
this.ctx.lineWidth = 1;
this.ctx.stroke();
}
}
}
}
drawMouseConnections() {
if (this.mouse.x === null || this.mouse.y === null) return;
this.particles.forEach(particle => {
const dx = particle.x - this.mouse.x;
const dy = particle.y - this.mouse.y;
const distance = Math.sqrt(dx * dx + dy * dy);
if (distance < this.mouseInfluenceRadius) {
const opacity = (1 - distance / this.mouseInfluenceRadius) * 0.8;
// 绘制鼠标与粒子的连线
this.ctx.beginPath();
this.ctx.moveTo(this.mouse.x, this.mouse.y);
this.ctx.lineTo(particle.x, particle.y);
const gradient = this.ctx.createLinearGradient(
this.mouse.x, this.mouse.y,
particle.x, particle.y
);
gradient.addColorStop(0, `rgba(139, 92, 246, ${opacity})`);
gradient.addColorStop(1, `rgba(59, 130, 246, ${opacity * 0.5})`);
this.ctx.strokeStyle = gradient;
this.ctx.lineWidth = 1.5;
this.ctx.stroke();
}
});
// 鼠标位置的光晕
const mouseGlow = this.ctx.createRadialGradient(
this.mouse.x, this.mouse.y, 0,
this.mouse.x, this.mouse.y, 30
);
mouseGlow.addColorStop(0, 'rgba(139, 92, 246, 0.3)');
mouseGlow.addColorStop(0.5, 'rgba(59, 130, 246, 0.1)');
mouseGlow.addColorStop(1, 'transparent');
this.ctx.beginPath();
this.ctx.arc(this.mouse.x, this.mouse.y, 30, 0, Math.PI * 2);
this.ctx.fillStyle = mouseGlow;
this.ctx.fill();
}
updateParticles() {
this.particles.forEach(particle => {
// 基本移动
particle.x += particle.vx;
particle.y += particle.vy;
// 鼠标牵引效果
if (this.mouse.x !== null && this.mouse.y !== null) {
const dx = this.mouse.x - particle.x;
const dy = this.mouse.y - particle.y;
const distance = Math.sqrt(dx * dx + dy * dy);
if (distance < this.mouseInfluenceRadius) {
const force = (this.mouseInfluenceRadius - distance) / this.mouseInfluenceRadius;
const angle = Math.atan2(dy, dx);
// 牵引力 - 粒子被吸引向鼠标
particle.vx += Math.cos(angle) * force * 0.02;
particle.vy += Math.sin(angle) * force * 0.02;
// 增加一点旋转效果
particle.vx += Math.cos(angle + Math.PI / 2) * force * 0.005;
particle.vy += Math.sin(angle + Math.PI / 2) * force * 0.005;
}
}
// 速度限制
const speed = Math.sqrt(particle.vx * particle.vx + particle.vy * particle.vy);
if (speed > 2) {
particle.vx = (particle.vx / speed) * 2;
particle.vy = (particle.vy / speed) * 2;
}
// 速度衰减(回归基础速度)
particle.vx *= 0.99;
particle.vy *= 0.99;
// 添加微小的随机运动
particle.vx += (Math.random() - 0.5) * 0.02;
particle.vy += (Math.random() - 0.5) * 0.02;
// 边界处理 - 平滑穿越
if (particle.x < -50) particle.x = this.canvas.width + 50;
if (particle.x > this.canvas.width + 50) particle.x = -50;
if (particle.y < -50) particle.y = this.canvas.height + 50;
if (particle.y > this.canvas.height + 50) particle.y = -50;
});
}
animate() {
const time = Date.now() * 0.001;
// 清除画布
this.ctx.clearRect(0, 0, this.canvas.width, this.canvas.height);
// 绘制连线
this.drawConnections();
// 绘制鼠标连线
this.drawMouseConnections();
// 绘制粒子
this.particles.forEach(particle => this.drawParticle(particle, time));
// 更新粒子位置
this.updateParticles();
requestAnimationFrame(() => this.animate());
}
}
// 原有粒子效果(保留作为辅助)
function createParticles() {
const container = document.getElementById('particles');
const particleCount = 30; // 减少数量,因为星座效果已经有粒子了
for (let i = 0; i < particleCount; i++) {
const particle = document.createElement('div');
particle.className = 'particle';
particle.style.left = Math.random() * 100 + '%';
particle.style.animationDelay = Math.random() * 15 + 's';
particle.style.animationDuration = (15 + Math.random() * 10) + 's';
container.appendChild(particle);
}
}
// 滚动显示动画
function handleScrollReveal() {
const reveals = document.querySelectorAll('.reveal');
const windowHeight = window.innerHeight;
reveals.forEach(reveal => {
const revealTop = reveal.getBoundingClientRect().top;
const revealPoint = 150;
if (revealTop < windowHeight - revealPoint) {
reveal.classList.add('visible');
}
});
}
// 数字计数动画
function animateCounters() {
const counters = document.querySelectorAll('.stat-number');
counters.forEach(counter => {
const target = counter.getAttribute('data-target');
const suffix = counter.getAttribute('data-suffix') || '';
const textOnly = counter.getAttribute('data-text');
// 如果是纯文本(如RVA23),跳过动画
if (textOnly) return;
if (target && !counter.classList.contains('counted')) {
counter.classList.add('counted');
let count = 0;
const targetNum = parseFloat(target);
const duration = 1500; // 动画持续时间(毫秒)
const startTime = Date.now();
const updateCount = () => {
const elapsed = Date.now() - startTime;
const progress = Math.min(elapsed / duration, 1);
// 使用easeOutQuart缓动函数
const easeProgress = 1 - Math.pow(1 - progress, 4);
count = targetNum * easeProgress;
if (progress < 1) {
counter.textContent = Math.ceil(count) + suffix;
requestAnimationFrame(updateCount);
} else {
counter.textContent = targetNum + suffix;
}
};
updateCount();
}
});
}
// 平滑滚动
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
anchor.addEventListener('click', function(e) {
e.preventDefault();
const target = document.querySelector(this.getAttribute('href'));
if (target) {
target.scrollIntoView({
behavior: 'smooth',
block: 'start'
});
}
});
});
// 初始化
document.addEventListener('DOMContentLoaded', () => {
// 创建星座背景
new ConstellationBackground();
createParticles();
handleScrollReveal();
// 添加初始可见类
setTimeout(() => {
document.querySelectorAll('.reveal').forEach(el => {
if (el.getBoundingClientRect().top < window.innerHeight) {
el.classList.add('visible');
}
});
}, 100);
// 页面加载时立即启动Hero区域数字动画
setTimeout(() => {
animateCounters();
}, 500); // 延迟500ms,让页面渲染完成后再开始动画
});
window.addEventListener('scroll', () => {
handleScrollReveal();
animateCounters();
});
</script>
</body>
</html>