Spaces:
Running
Imagine the network not as a flat animation, but as a floating 3D digital environment — a luminous purple nebula where energy threads weave through a living data cloud.
Browse filesEvery pixel contributes to depth and motion, making the user feel like they’re looking into a deep, glowing field of digital life.
🌫️ 1. Multi-Layered Depth Effect
Foreground Layer (Active Mesh):
This is the primary glowing web — the same purple node-and-line network.
It remains sharp, bright, and active with glowing points and dynamic connections.
Movement is more pronounced here — gentle oscillations and wave undulations that feel close to the viewer.
Mid Layer (Secondary Particles):
Fainter and smaller particles drift independently in the background.
They move slower and have slightly reduced opacity (~0.3–0.5), creating a soft parallax motion.
Some of these fade in and out slowly to simulate depth and energy fluctuations.
Far Background Layer (Haze & Nebula Glow):
A very subtle purple fog or nebula-like gradient spreads across the background.
This layer doesn’t move much — it glows faintly and flickers over long intervals, like distant energy pulses.
The haze gives the illusion that the network extends infinitely into dark digital space.
💡 2. Lighting Design and Glow Dynamics
Primary Light Color: Vibrant violet (#b366ff) — the dominant hue.
Accent Glow: Deeper purple (#6a00b8) mixed with soft magenta tones for gradients.
Glare & Halo: Each node emits a halo glow that diffuses gently into the darkness.
Dynamic Luminosity:
The brightness of both nodes and lines subtly fluctuates in sync with a slow “energy pulse” — like breathing.
Every 3–5 seconds, a ripple of brightness travels diagonally across the network, softly illuminating connected lines.
Energy Pulse Behavior:
The pulse does not flash abruptly; instead, it expands and fades with a sine-wave smoothness.
It creates a sense of continuity, as though information is flowing through the network’s veins.
🌊 3. Subtle Motion Layers
Primary Wave Motion:
The entire mesh moves in a low-frequency wave pattern, gently rolling along one axis — typically diagonal or horizontal.
The amplitude is small but consistent, giving a silky “liquid energy” flow.
Secondary Drift Motion:
A secondary movement slowly rotates or tilts the mesh as a whole (just a few degrees).
This slow, circular drift makes the structure appear to float freely in 3D space rather than being locked to the screen.
Background Particle Drift:
Tiny distant dots move slowly in random directions, adding life to the emptier regions.
These can have slightly different shades — lighter purple or soft gray-white — creating depth contrast.
🌠 4. Ambient Glow and Bloom Effect
A faint bloom effect surrounds brighter regions, simulating the way light diffuses in dark environments.
At connection points where several lines meet, the glow is stronger — these act like energy hubs.
Occasionally, faint lens flares or soft blur gradients can appear around dense clusters, imitating the visual diffusion of light in atmosphere.
🌌 5. Optional Cinematic Enhancements
If you want the most immersive, high-tech look, the animation can include these subtle layers:
Parallax Mouse Movement:
As the user moves the mouse, the entire network shifts slightly (just a few pixels) in the opposite direction, creating a 3D parallax illusion.
Depth Blur Gradient:
Nodes closer to the “viewer” are sharp; distant ones have a faint blur — mimicking camera focus.
Particle Trails (Optional):
When a node moves faster, a faint streak follows it briefly, fading out smoothly — like motion trails of energy.
Ambient Pulse Sound (Optional Visual Cue):
Even without actual sound, small waves of luminosity could pulse across the network in rhythm, hinting at energy resonance.
🎨 6. Overall Mood and Tone
The final visual atmosphere is:
Futuristic and ethereal — a balance of technology and elegance.
Calm yet alive — every movement is soft, continuous, and breathing-like.
Infinite in depth — thanks to multi-layered parallax, fading haze, and slow perspective drift.
Visually magnetic — glowing purple tones draw the eye naturally, symbolizing intelligence, energy, and mystery.
It should feel like standing before a living neural web — data energy shimmering and flowing endlessly in a cosmic void.
- README.md +8 -5
- components/footer.js +157 -0
- components/navbar.js +139 -0
- index.html +149 -19
- script.js +170 -0
- style.css +87 -18
|
@@ -1,10 +1,13 @@
|
|
| 1 |
---
|
| 2 |
-
title: Neural Glow
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
-
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
title: Neural Glow ✨
|
| 3 |
+
colorFrom: red
|
| 4 |
+
colorTo: green
|
| 5 |
+
emoji: 🐳
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
| 8 |
+
tags:
|
| 9 |
+
- deepsite-v3
|
| 10 |
---
|
| 11 |
|
| 12 |
+
# Welcome to your new DeepSite project!
|
| 13 |
+
This project was created with [DeepSite](https://deepsite.hf.co).
|
|
@@ -0,0 +1,157 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
class CustomFooter extends HTMLElement {
|
| 2 |
+
connectedCallback() {
|
| 3 |
+
this.attachShadow({ mode: 'open' });
|
| 4 |
+
this.shadowRoot.innerHTML = `
|
| 5 |
+
<style>
|
| 6 |
+
footer {
|
| 7 |
+
background: linear-gradient(180deg, rgba(10, 10, 15, 0.9) 0%, #0a0a0f 100%);
|
| 8 |
+
color: #cbd5e0;
|
| 9 |
+
padding: 4rem 2rem 2rem;
|
| 10 |
+
border-top: 1px solid rgba(179, 102, 255, 0.1);
|
| 11 |
+
}
|
| 12 |
+
|
| 13 |
+
.footer-content {
|
| 14 |
+
max-width: 1200px;
|
| 15 |
+
margin: 0 auto;
|
| 16 |
+
display: grid;
|
| 17 |
+
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
|
| 18 |
+
gap: 2rem;
|
| 19 |
+
}
|
| 20 |
+
|
| 21 |
+
.footer-column h3 {
|
| 22 |
+
color: white;
|
| 23 |
+
margin-bottom: 1.5rem;
|
| 24 |
+
font-size: 1.25rem;
|
| 25 |
+
position: relative;
|
| 26 |
+
padding-bottom: 0.5rem;
|
| 27 |
+
}
|
| 28 |
+
|
| 29 |
+
.footer-column h3::after {
|
| 30 |
+
content: '';
|
| 31 |
+
position: absolute;
|
| 32 |
+
bottom: 0;
|
| 33 |
+
left: 0;
|
| 34 |
+
width: 50px;
|
| 35 |
+
height: 2px;
|
| 36 |
+
background: linear-gradient(90deg, #b366ff, #6a00b8);
|
| 37 |
+
}
|
| 38 |
+
|
| 39 |
+
.footer-column ul {
|
| 40 |
+
list-style: none;
|
| 41 |
+
padding: 0;
|
| 42 |
+
}
|
| 43 |
+
|
| 44 |
+
.footer-column ul li {
|
| 45 |
+
margin-bottom: 0.75rem;
|
| 46 |
+
}
|
| 47 |
+
|
| 48 |
+
.footer-column ul li a {
|
| 49 |
+
color: #94a3b8;
|
| 50 |
+
text-decoration: none;
|
| 51 |
+
transition: color 0.3s ease;
|
| 52 |
+
display: flex;
|
| 53 |
+
align-items: center;
|
| 54 |
+
gap: 0.5rem;
|
| 55 |
+
}
|
| 56 |
+
|
| 57 |
+
.footer-column ul li a:hover {
|
| 58 |
+
color: #b366ff;
|
| 59 |
+
}
|
| 60 |
+
|
| 61 |
+
.social-links {
|
| 62 |
+
display: flex;
|
| 63 |
+
gap: 1rem;
|
| 64 |
+
margin-top: 1rem;
|
| 65 |
+
}
|
| 66 |
+
|
| 67 |
+
.social-links a {
|
| 68 |
+
display: flex;
|
| 69 |
+
align-items: center;
|
| 70 |
+
justify-content: center;
|
| 71 |
+
width: 40px;
|
| 72 |
+
height: 40px;
|
| 73 |
+
border-radius: 50%;
|
| 74 |
+
background: rgba(179, 102, 255, 0.1);
|
| 75 |
+
color: #b366ff;
|
| 76 |
+
transition: all 0.3s ease;
|
| 77 |
+
}
|
| 78 |
+
|
| 79 |
+
.social-links a:hover {
|
| 80 |
+
background: #b366ff;
|
| 81 |
+
color: white;
|
| 82 |
+
transform: translateY(-3px);
|
| 83 |
+
}
|
| 84 |
+
|
| 85 |
+
.copyright {
|
| 86 |
+
max-width: 1200px;
|
| 87 |
+
margin: 3rem auto 0;
|
| 88 |
+
padding-top: 2rem;
|
| 89 |
+
border-top: 1px solid rgba(255, 255, 255, 0.05);
|
| 90 |
+
text-align: center;
|
| 91 |
+
color: #64748b;
|
| 92 |
+
font-size: 0.9rem;
|
| 93 |
+
}
|
| 94 |
+
|
| 95 |
+
@media (max-width: 768px) {
|
| 96 |
+
footer {
|
| 97 |
+
padding: 3rem 1rem 1rem;
|
| 98 |
+
}
|
| 99 |
+
}
|
| 100 |
+
</style>
|
| 101 |
+
<footer>
|
| 102 |
+
<div class="footer-content">
|
| 103 |
+
<div class="footer-column">
|
| 104 |
+
<h3>Neural Glow</h3>
|
| 105 |
+
<p>Immersive 3D neural network visualization that transforms data into a luminous digital universe.</p>
|
| 106 |
+
<div class="social-links">
|
| 107 |
+
<a href="#"><i data-feather="twitter"></i></a>
|
| 108 |
+
<a href="#"><i data-feather="github"></i></a>
|
| 109 |
+
<a href="#"><i data-feather="linkedin"></i></a>
|
| 110 |
+
<a href="#"><i data-feather="instagram"></i></a>
|
| 111 |
+
</div>
|
| 112 |
+
</div>
|
| 113 |
+
|
| 114 |
+
<div class="footer-column">
|
| 115 |
+
<h3>Explore</h3>
|
| 116 |
+
<ul>
|
| 117 |
+
<li><a href="/"><i data-feather="home"></i> Home</a></li>
|
| 118 |
+
<li><a href="#features"><i data-feather="layers"></i> Features</a></li>
|
| 119 |
+
<li><a href="#explore"><i data-feather="activity"></i> Interactive Demo</a></li>
|
| 120 |
+
<li><a href="#"><i data-feather="book"></i> Documentation</a></li>
|
| 121 |
+
</ul>
|
| 122 |
+
</div>
|
| 123 |
+
|
| 124 |
+
<div class="footer-column">
|
| 125 |
+
<h3>Resources</h3>
|
| 126 |
+
<ul>
|
| 127 |
+
<li><a href="#"><i data-feather="download"></i> Download</a></li>
|
| 128 |
+
<li><a href="#"><i data-feather="help-circle"></i> Support</a></li>
|
| 129 |
+
<li><a href="#"><i data-feather="file-text"></i> API Docs</a></li>
|
| 130 |
+
<li><a href="#"><i data-feather="users"></i> Community</a></li>
|
| 131 |
+
</ul>
|
| 132 |
+
</div>
|
| 133 |
+
|
| 134 |
+
<div class="footer-column">
|
| 135 |
+
<h3>Company</h3>
|
| 136 |
+
<ul>
|
| 137 |
+
<li><a href="#"><i data-feather="info"></i> About Us</a></li>
|
| 138 |
+
<li><a href="#"><i data-feather="briefcase"></i> Careers</a></li>
|
| 139 |
+
<li><a href="#"><i data-feather="mail"></i> Contact</a></li>
|
| 140 |
+
<li><a href="#"><i data-feather="shield"></i> Privacy Policy</a></li>
|
| 141 |
+
</ul>
|
| 142 |
+
</div>
|
| 143 |
+
</div>
|
| 144 |
+
|
| 145 |
+
<div class="copyright">
|
| 146 |
+
<p>© 2023 Neural Glow. All rights reserved. Transforming data into digital art.</p>
|
| 147 |
+
</div>
|
| 148 |
+
</footer>
|
| 149 |
+
`;
|
| 150 |
+
|
| 151 |
+
// Initialize feather icons after a short delay to ensure DOM is ready
|
| 152 |
+
setTimeout(() => {
|
| 153 |
+
feather.replace();
|
| 154 |
+
}, 100);
|
| 155 |
+
}
|
| 156 |
+
}
|
| 157 |
+
customElements.define('custom-footer', CustomFooter);
|
|
@@ -0,0 +1,139 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
class CustomNavbar extends HTMLElement {
|
| 2 |
+
connectedCallback() {
|
| 3 |
+
this.attachShadow({ mode: 'open' });
|
| 4 |
+
this.shadowRoot.innerHTML = `
|
| 5 |
+
<style>
|
| 6 |
+
:host {
|
| 7 |
+
position: fixed;
|
| 8 |
+
top: 0;
|
| 9 |
+
width: 100%;
|
| 10 |
+
z-index: 1000;
|
| 11 |
+
}
|
| 12 |
+
|
| 13 |
+
nav {
|
| 14 |
+
background: rgba(10, 10, 15, 0.8);
|
| 15 |
+
backdrop-filter: blur(10px);
|
| 16 |
+
padding: 1rem 2rem;
|
| 17 |
+
display: flex;
|
| 18 |
+
justify-content: space-between;
|
| 19 |
+
align-items: center;
|
| 20 |
+
border-bottom: 1px solid rgba(179, 102, 255, 0.1);
|
| 21 |
+
}
|
| 22 |
+
|
| 23 |
+
.logo {
|
| 24 |
+
color: white;
|
| 25 |
+
font-weight: bold;
|
| 26 |
+
font-size: 1.5rem;
|
| 27 |
+
display: flex;
|
| 28 |
+
align-items: center;
|
| 29 |
+
gap: 0.5rem;
|
| 30 |
+
}
|
| 31 |
+
|
| 32 |
+
.logo span {
|
| 33 |
+
color: #b366ff;
|
| 34 |
+
}
|
| 35 |
+
|
| 36 |
+
ul {
|
| 37 |
+
display: flex;
|
| 38 |
+
gap: 2rem;
|
| 39 |
+
list-style: none;
|
| 40 |
+
margin: 0;
|
| 41 |
+
padding: 0;
|
| 42 |
+
}
|
| 43 |
+
|
| 44 |
+
a {
|
| 45 |
+
color: #e2e8f0;
|
| 46 |
+
text-decoration: none;
|
| 47 |
+
font-weight: 500;
|
| 48 |
+
transition: all 0.3s ease;
|
| 49 |
+
position: relative;
|
| 50 |
+
padding: 0.5rem 0;
|
| 51 |
+
}
|
| 52 |
+
|
| 53 |
+
a:hover {
|
| 54 |
+
color: #b366ff;
|
| 55 |
+
}
|
| 56 |
+
|
| 57 |
+
a::after {
|
| 58 |
+
content: '';
|
| 59 |
+
position: absolute;
|
| 60 |
+
bottom: 0;
|
| 61 |
+
left: 0;
|
| 62 |
+
width: 0;
|
| 63 |
+
height: 2px;
|
| 64 |
+
background: linear-gradient(90deg, #b366ff, #6a00b8);
|
| 65 |
+
transition: width 0.3s ease;
|
| 66 |
+
}
|
| 67 |
+
|
| 68 |
+
a:hover::after {
|
| 69 |
+
width: 100%;
|
| 70 |
+
}
|
| 71 |
+
|
| 72 |
+
.mobile-menu-btn {
|
| 73 |
+
display: none;
|
| 74 |
+
background: none;
|
| 75 |
+
border: none;
|
| 76 |
+
color: white;
|
| 77 |
+
font-size: 1.5rem;
|
| 78 |
+
cursor: pointer;
|
| 79 |
+
}
|
| 80 |
+
|
| 81 |
+
@media (max-width: 768px) {
|
| 82 |
+
ul {
|
| 83 |
+
display: none;
|
| 84 |
+
position: absolute;
|
| 85 |
+
top: 100%;
|
| 86 |
+
left: 0;
|
| 87 |
+
width: 100%;
|
| 88 |
+
background: rgba(10, 10, 15, 0.95);
|
| 89 |
+
backdrop-filter: blur(10px);
|
| 90 |
+
flex-direction: column;
|
| 91 |
+
padding: 1rem;
|
| 92 |
+
gap: 1rem;
|
| 93 |
+
}
|
| 94 |
+
|
| 95 |
+
ul.active {
|
| 96 |
+
display: flex;
|
| 97 |
+
}
|
| 98 |
+
|
| 99 |
+
.mobile-menu-btn {
|
| 100 |
+
display: block;
|
| 101 |
+
}
|
| 102 |
+
}
|
| 103 |
+
</style>
|
| 104 |
+
<nav>
|
| 105 |
+
<div class="logo">
|
| 106 |
+
<i data-feather="cpu"></i>
|
| 107 |
+
<span>Neural</span>Glow
|
| 108 |
+
</div>
|
| 109 |
+
<button class="mobile-menu-btn" id="menuToggle">
|
| 110 |
+
<i data-feather="menu"></i>
|
| 111 |
+
</button>
|
| 112 |
+
<ul id="menu">
|
| 113 |
+
<li><a href="/"><i data-feather="home"></i> Home</a></li>
|
| 114 |
+
<li><a href="#features"><i data-feather="layers"></i> Features</a></li>
|
| 115 |
+
<li><a href="#explore"><i data-feather="activity"></i> Explore</a></li>
|
| 116 |
+
<li><a href="#"><i data-feather="user"></i> Account</a></li>
|
| 117 |
+
</ul>
|
| 118 |
+
</nav>
|
| 119 |
+
`;
|
| 120 |
+
|
| 121 |
+
// Add mobile menu toggle functionality
|
| 122 |
+
setTimeout(() => {
|
| 123 |
+
const menuToggle = this.shadowRoot.getElementById('menuToggle');
|
| 124 |
+
const menu = this.shadowRoot.getElementById('menu');
|
| 125 |
+
|
| 126 |
+
menuToggle.addEventListener('click', () => {
|
| 127 |
+
menu.classList.toggle('active');
|
| 128 |
+
const icon = menuToggle.querySelector('i');
|
| 129 |
+
if (menu.classList.contains('active')) {
|
| 130 |
+
icon.setAttribute('data-feather', 'x');
|
| 131 |
+
} else {
|
| 132 |
+
icon.setAttribute('data-feather', 'menu');
|
| 133 |
+
}
|
| 134 |
+
feather.replace();
|
| 135 |
+
});
|
| 136 |
+
}, 0);
|
| 137 |
+
}
|
| 138 |
+
}
|
| 139 |
+
customElements.define('custom-navbar', CustomNavbar);
|
|
@@ -1,19 +1,149 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>Neural Glow - Immersive 3D Data Network</title>
|
| 7 |
+
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
|
| 8 |
+
<link rel="stylesheet" href="style.css">
|
| 9 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 10 |
+
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
|
| 11 |
+
<script src="https://unpkg.com/feather-icons"></script>
|
| 12 |
+
<script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/r128/three.min.js"></script>
|
| 13 |
+
</head>
|
| 14 |
+
<body class="overflow-hidden">
|
| 15 |
+
<custom-navbar></custom-navbar>
|
| 16 |
+
|
| 17 |
+
<!-- Hero Section with 3D Background -->
|
| 18 |
+
<section id="hero" class="relative h-screen flex items-center justify-center overflow-hidden">
|
| 19 |
+
<!-- Three.js Canvas Container -->
|
| 20 |
+
<div id="network-background" class="absolute inset-0 z-0"></div>
|
| 21 |
+
|
| 22 |
+
<!-- Content Overlay -->
|
| 23 |
+
<div class="relative z-10 text-center px-4 max-w-4xl mx-auto">
|
| 24 |
+
<h1 class="text-5xl md:text-7xl font-bold text-white mb-6 tracking-tight">
|
| 25 |
+
Digital <span class="text-purple-400">Neural</span> Universe
|
| 26 |
+
</h1>
|
| 27 |
+
<p class="text-xl text-gray-300 mb-10 max-w-2xl mx-auto leading-relaxed">
|
| 28 |
+
Step into a luminous purple nebula where energy threads weave through a living data cloud.
|
| 29 |
+
Every pixel contributes to depth and motion, making you feel like you're looking into a deep, glowing field of digital life.
|
| 30 |
+
</p>
|
| 31 |
+
<div class="flex flex-col sm:flex-row gap-4 justify-center">
|
| 32 |
+
<a href="#explore" class="bg-purple-600 hover:bg-purple-700 text-white font-semibold py-3 px-8 rounded-full transition-all duration-300 transform hover:scale-105 shadow-lg shadow-purple-500/30">
|
| 33 |
+
Explore the Network
|
| 34 |
+
</a>
|
| 35 |
+
<a href="#features" class="bg-transparent border-2 border-purple-500 text-purple-300 hover:bg-purple-500/10 font-semibold py-3 px-8 rounded-full transition-all duration-300 shadow-lg shadow-purple-500/20">
|
| 36 |
+
Learn More
|
| 37 |
+
</a>
|
| 38 |
+
</div>
|
| 39 |
+
</div>
|
| 40 |
+
|
| 41 |
+
<!-- Scroll Indicator -->
|
| 42 |
+
<div class="absolute bottom-8 left-1/2 transform -translate-x-1/2 animate-bounce">
|
| 43 |
+
<i data-feather="chevron-down" class="text-white w-8 h-8"></i>
|
| 44 |
+
</div>
|
| 45 |
+
</section>
|
| 46 |
+
|
| 47 |
+
<!-- Features Section -->
|
| 48 |
+
<section id="features" class="py-20 bg-gradient-to-b from-gray-900 to-black">
|
| 49 |
+
<div class="container mx-auto px-4">
|
| 50 |
+
<div class="text-center mb-16">
|
| 51 |
+
<h2 class="text-4xl font-bold text-white mb-4">Immersive Digital Experience</h2>
|
| 52 |
+
<p class="text-gray-400 max-w-2xl mx-auto">
|
| 53 |
+
Our 3D neural network visualization combines cutting-edge technology with artistic design
|
| 54 |
+
to create an unparalleled digital environment.
|
| 55 |
+
</p>
|
| 56 |
+
</div>
|
| 57 |
+
|
| 58 |
+
<div class="grid grid-cols-1 md:grid-cols-3 gap-8">
|
| 59 |
+
<!-- Feature 1 -->
|
| 60 |
+
<div class="bg-gray-800/50 backdrop-blur-sm p-8 rounded-xl border border-gray-700 hover:border-purple-500 transition-all duration-300 group">
|
| 61 |
+
<div class="w-14 h-14 bg-purple-600 rounded-lg flex items-center justify-center mb-6 group-hover:bg-purple-500 transition-colors">
|
| 62 |
+
<i data-feather="layers" class="text-white w-8 h-8"></i>
|
| 63 |
+
</div>
|
| 64 |
+
<h3 class="text-2xl font-bold text-white mb-4">Multi-Layered Depth</h3>
|
| 65 |
+
<p class="text-gray-400">
|
| 66 |
+
Foreground mesh, mid-layer particles, and distant nebula glow create infinite depth
|
| 67 |
+
with parallax motion and energy fluctuations.
|
| 68 |
+
</p>
|
| 69 |
+
</div>
|
| 70 |
+
|
| 71 |
+
<!-- Feature 2 -->
|
| 72 |
+
<div class="bg-gray-800/50 backdrop-blur-sm p-8 rounded-xl border border-gray-700 hover:border-purple-500 transition-all duration-300 group">
|
| 73 |
+
<div class="w-14 h-14 bg-purple-600 rounded-lg flex items-center justify-center mb-6 group-hover:bg-purple-500 transition-colors">
|
| 74 |
+
<i data-feather="sun" class="text-white w-8 h-8"></i>
|
| 75 |
+
</div>
|
| 76 |
+
<h3 class="text-2xl font-bold text-white mb-4">Dynamic Lighting</h3>
|
| 77 |
+
<p class="text-gray-400">
|
| 78 |
+
Vibrant violet nodes emit halos that pulse with energy, creating a breathing-like
|
| 79 |
+
rhythm across the entire network.
|
| 80 |
+
</p>
|
| 81 |
+
</div>
|
| 82 |
+
|
| 83 |
+
<!-- Feature 3 -->
|
| 84 |
+
<div class="bg-gray-800/50 backdrop-blur-sm p-8 rounded-xl border border-gray-700 hover:border-purple-500 transition-all duration-300 group">
|
| 85 |
+
<div class="w-14 h-14 bg-purple-600 rounded-lg flex items-center justify-center mb-6 group-hover:bg-purple-500 transition-colors">
|
| 86 |
+
<i data-feather="activity" class="text-white w-8 h-8"></i>
|
| 87 |
+
</div>
|
| 88 |
+
<h3 class="text-2xl font-bold text-white mb-4">Subtle Motion</h3>
|
| 89 |
+
<p class="text-gray-400">
|
| 90 |
+
Gentle wave undulations and slow drift motions make the structure appear to float
|
| 91 |
+
freely in 3D space with liquid energy flow.
|
| 92 |
+
</p>
|
| 93 |
+
</div>
|
| 94 |
+
</div>
|
| 95 |
+
</div>
|
| 96 |
+
</section>
|
| 97 |
+
|
| 98 |
+
<!-- Interactive Demo Section -->
|
| 99 |
+
<section id="explore" class="py-20 relative">
|
| 100 |
+
<div class="absolute inset-0 bg-gradient-to-br from-purple-900/20 to-indigo-900/20"></div>
|
| 101 |
+
<div class="container mx-auto px-4 relative">
|
| 102 |
+
<div class="text-center mb-16">
|
| 103 |
+
<h2 class="text-4xl font-bold text-white mb-4">Interactive Neural Network</h2>
|
| 104 |
+
<p class="text-gray-400 max-w-2xl mx-auto">
|
| 105 |
+
Experience the network in motion. Move your cursor to influence the flow of energy
|
| 106 |
+
and watch as data pulses through the digital cosmos.
|
| 107 |
+
</p>
|
| 108 |
+
</div>
|
| 109 |
+
|
| 110 |
+
<div class="bg-gray-900/50 backdrop-blur-sm rounded-2xl border border-gray-700 p-1 max-w-4xl mx-auto">
|
| 111 |
+
<div id="interactive-demo" class="h-96 rounded-xl overflow-hidden relative">
|
| 112 |
+
<div class="absolute inset-0 flex items-center justify-center">
|
| 113 |
+
<div class="text-center p-8">
|
| 114 |
+
<div class="inline-block p-4 bg-purple-600/20 rounded-full mb-6">
|
| 115 |
+
<i data-feather="mouse-pointer" class="text-purple-400 w-12 h-12"></i>
|
| 116 |
+
</div>
|
| 117 |
+
<h3 class="text-2xl font-bold text-white mb-2">Move Your Cursor</h3>
|
| 118 |
+
<p class="text-gray-400">Interact with the neural network to see energy respond to your movements</p>
|
| 119 |
+
</div>
|
| 120 |
+
</div>
|
| 121 |
+
</div>
|
| 122 |
+
</div>
|
| 123 |
+
</div>
|
| 124 |
+
</section>
|
| 125 |
+
|
| 126 |
+
<!-- Footer CTA -->
|
| 127 |
+
<section class="py-20 bg-gradient-to-t from-gray-900 to-black">
|
| 128 |
+
<div class="container mx-auto px-4 text-center">
|
| 129 |
+
<h2 class="text-4xl font-bold text-white mb-6">Ready to Dive In?</h2>
|
| 130 |
+
<p class="text-gray-400 max-w-2xl mx-auto mb-10 text-xl">
|
| 131 |
+
Join thousands of explorers experiencing the future of digital visualization today.
|
| 132 |
+
</p>
|
| 133 |
+
<a href="#" class="inline-block bg-purple-600 hover:bg-purple-700 text-white font-semibold py-4 px-10 rounded-full transition-all duration-300 transform hover:scale-105 shadow-lg shadow-purple-500/30 text-lg">
|
| 134 |
+
Begin Your Journey
|
| 135 |
+
</a>
|
| 136 |
+
</div>
|
| 137 |
+
</section>
|
| 138 |
+
|
| 139 |
+
<custom-footer></custom-footer>
|
| 140 |
+
|
| 141 |
+
<script src="components/navbar.js"></script>
|
| 142 |
+
<script src="components/footer.js"></script>
|
| 143 |
+
<script src="script.js"></script>
|
| 144 |
+
<script>
|
| 145 |
+
feather.replace();
|
| 146 |
+
</script>
|
| 147 |
+
<script src="https://deepsite.hf.co/deepsite-badge.js"></script>
|
| 148 |
+
</body>
|
| 149 |
+
</html>
|
|
@@ -0,0 +1,170 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
// Shared JavaScript across all pages
|
| 2 |
+
document.addEventListener('DOMContentLoaded', function() {
|
| 3 |
+
// Initialize Three.js scene for the hero background
|
| 4 |
+
initNetworkBackground();
|
| 5 |
+
|
| 6 |
+
// Smooth scrolling for anchor links
|
| 7 |
+
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
|
| 8 |
+
anchor.addEventListener('click', function(e) {
|
| 9 |
+
e.preventDefault();
|
| 10 |
+
const target = document.querySelector(this.getAttribute('href'));
|
| 11 |
+
if (target) {
|
| 12 |
+
window.scrollTo({
|
| 13 |
+
top: target.offsetTop,
|
| 14 |
+
behavior: 'smooth'
|
| 15 |
+
});
|
| 16 |
+
}
|
| 17 |
+
});
|
| 18 |
+
});
|
| 19 |
+
});
|
| 20 |
+
|
| 21 |
+
function initNetworkBackground() {
|
| 22 |
+
// Get the container element
|
| 23 |
+
const container = document.getElementById('network-background');
|
| 24 |
+
|
| 25 |
+
// Set up Three.js scene
|
| 26 |
+
const scene = new THREE.Scene();
|
| 27 |
+
const camera = new THREE.PerspectiveCamera(75, window.innerWidth / window.innerHeight, 0.1, 1000);
|
| 28 |
+
const renderer = new THREE.WebGLRenderer({ antialias: true, alpha: true });
|
| 29 |
+
|
| 30 |
+
renderer.setSize(window.innerWidth, window.innerHeight);
|
| 31 |
+
renderer.setPixelRatio(window.devicePixelRatio);
|
| 32 |
+
container.appendChild(renderer.domElement);
|
| 33 |
+
|
| 34 |
+
// Create particle system for the network
|
| 35 |
+
const particles = 2000;
|
| 36 |
+
const geometry = new THREE.BufferGeometry();
|
| 37 |
+
const positions = new Float32Array(particles * 3);
|
| 38 |
+
const colors = new Float32Array(particles * 3);
|
| 39 |
+
|
| 40 |
+
// Create node positions
|
| 41 |
+
for (let i = 0; i < particles * 3; i += 3) {
|
| 42 |
+
positions[i] = (Math.random() - 0.5) * 200;
|
| 43 |
+
positions[i + 1] = (Math.random() - 0.5) * 200;
|
| 44 |
+
positions[i + 2] = (Math.random() - 0.5) * 200;
|
| 45 |
+
}
|
| 46 |
+
|
| 47 |
+
// Create node colors (purple spectrum)
|
| 48 |
+
for (let i = 0; i < particles * 3; i += 3) {
|
| 49 |
+
colors[i] = Math.random() * 0.5 + 0.5; // R
|
| 50 |
+
colors[i + 1] = Math.random() * 0.3; // G
|
| 51 |
+
colors[i + 2] = Math.random() * 0.8 + 0.2; // B
|
| 52 |
+
}
|
| 53 |
+
|
| 54 |
+
geometry.setAttribute('position', new THREE.BufferAttribute(positions, 3));
|
| 55 |
+
geometry.setAttribute('color', new THREE.BufferAttribute(colors, 3));
|
| 56 |
+
|
| 57 |
+
// Create material with custom shader for glow effect
|
| 58 |
+
const material = new THREE.PointsMaterial({
|
| 59 |
+
size: 2,
|
| 60 |
+
vertexColors: true,
|
| 61 |
+
transparent: true,
|
| 62 |
+
opacity: 0.8,
|
| 63 |
+
blending: THREE.AdditiveBlending
|
| 64 |
+
});
|
| 65 |
+
|
| 66 |
+
const points = new THREE.Points(geometry, material);
|
| 67 |
+
scene.add(points);
|
| 68 |
+
|
| 69 |
+
// Create connecting lines
|
| 70 |
+
const lineGeometry = new THREE.BufferGeometry();
|
| 71 |
+
const linePositions = [];
|
| 72 |
+
const lineColors = [];
|
| 73 |
+
|
| 74 |
+
// Connect nearby nodes
|
| 75 |
+
for (let i = 0; i < particles; i++) {
|
| 76 |
+
for (let j = i + 1; j < particles; j++) {
|
| 77 |
+
const dx = positions[i * 3] - positions[j * 3];
|
| 78 |
+
const dy = positions[i * 3 + 1] - positions[j * 3 + 1];
|
| 79 |
+
const dz = positions[i * 3 + 2] - positions[j * 3 + 2];
|
| 80 |
+
const distance = Math.sqrt(dx * dx + dy * dy + dz * dz);
|
| 81 |
+
|
| 82 |
+
// Only connect relatively close nodes
|
| 83 |
+
if (distance < 20) {
|
| 84 |
+
linePositions.push(
|
| 85 |
+
positions[i * 3], positions[i * 3 + 1], positions[i * 3 + 2],
|
| 86 |
+
positions[j * 3], positions[j * 3 + 1], positions[j * 3 + 2]
|
| 87 |
+
);
|
| 88 |
+
|
| 89 |
+
// Line color based on node colors
|
| 90 |
+
lineColors.push(
|
| 91 |
+
colors[i * 3], colors[i * 3 + 1], colors[i * 3 + 2],
|
| 92 |
+
colors[j * 3], colors[j * 3 + 1], colors[j * 3 + 2]
|
| 93 |
+
);
|
| 94 |
+
}
|
| 95 |
+
}
|
| 96 |
+
}
|
| 97 |
+
|
| 98 |
+
lineGeometry.setAttribute('position', new THREE.Float32BufferAttribute(linePositions, 3));
|
| 99 |
+
lineGeometry.setAttribute('color', new THREE.Float32BufferAttribute(lineColors, 3));
|
| 100 |
+
|
| 101 |
+
const lineMaterial = new THREE.LineBasicMaterial({
|
| 102 |
+
vertexColors: true,
|
| 103 |
+
transparent: true,
|
| 104 |
+
opacity: 0.3,
|
| 105 |
+
blending: THREE.AdditiveBlending
|
| 106 |
+
});
|
| 107 |
+
|
| 108 |
+
const lines = new THREE.LineSegments(lineGeometry, lineMaterial);
|
| 109 |
+
scene.add(lines);
|
| 110 |
+
|
| 111 |
+
// Position camera
|
| 112 |
+
camera.position.z = 50;
|
| 113 |
+
|
| 114 |
+
// Add subtle ambient light
|
| 115 |
+
const ambientLight = new THREE.AmbientLight(0x6a00b8, 0.2);
|
| 116 |
+
scene.add(ambientLight);
|
| 117 |
+
|
| 118 |
+
// Add directional light for highlights
|
| 119 |
+
const directionalLight = new THREE.DirectionalLight(0xb366ff, 0.5);
|
| 120 |
+
directionalLight.position.set(1, 1, 1);
|
| 121 |
+
scene.add(directionalLight);
|
| 122 |
+
|
| 123 |
+
// Handle window resize
|
| 124 |
+
window.addEventListener('resize', () => {
|
| 125 |
+
camera.aspect = window.innerWidth / window.innerHeight;
|
| 126 |
+
camera.updateProjectionMatrix();
|
| 127 |
+
renderer.setSize(window.innerWidth, window.innerHeight);
|
| 128 |
+
});
|
| 129 |
+
|
| 130 |
+
// Mouse movement effect
|
| 131 |
+
let mouseX = 0;
|
| 132 |
+
let mouseY = 0;
|
| 133 |
+
|
| 134 |
+
document.addEventListener('mousemove', (event) => {
|
| 135 |
+
mouseX = (event.clientX / window.innerWidth) * 2 - 1;
|
| 136 |
+
mouseY = -(event.clientY / window.innerHeight) * 2 + 1;
|
| 137 |
+
});
|
| 138 |
+
|
| 139 |
+
// Animation variables
|
| 140 |
+
let time = 0;
|
| 141 |
+
|
| 142 |
+
// Animation loop
|
| 143 |
+
function animate() {
|
| 144 |
+
requestAnimationFrame(animate);
|
| 145 |
+
|
| 146 |
+
time += 0.01;
|
| 147 |
+
|
| 148 |
+
// Rotate the entire scene slowly
|
| 149 |
+
points.rotation.x = time * 0.05;
|
| 150 |
+
points.rotation.y = time * 0.03;
|
| 151 |
+
lines.rotation.x = time * 0.05;
|
| 152 |
+
lines.rotation.y = time * 0.03;
|
| 153 |
+
|
| 154 |
+
// Apply mouse parallax effect
|
| 155 |
+
camera.position.x += (mouseX * 5 - camera.position.x) * 0.05;
|
| 156 |
+
camera.position.y += (mouseY * 5 - camera.position.y) * 0.05;
|
| 157 |
+
camera.lookAt(scene.position);
|
| 158 |
+
|
| 159 |
+
// Pulsing effect for nodes
|
| 160 |
+
const positions = points.geometry.attributes.position.array;
|
| 161 |
+
for (let i = 0; i < positions.length; i += 3) {
|
| 162 |
+
positions[i + 1] += Math.sin(time + i * 0.01) * 0.02;
|
| 163 |
+
}
|
| 164 |
+
points.geometry.attributes.position.needsUpdate = true;
|
| 165 |
+
|
| 166 |
+
renderer.render(scene, camera);
|
| 167 |
+
}
|
| 168 |
+
|
| 169 |
+
animate();
|
| 170 |
+
}
|
|
@@ -1,28 +1,97 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
body {
|
| 2 |
-
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
}
|
| 5 |
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
}
|
| 10 |
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
font-size: 15px;
|
| 14 |
-
margin-bottom: 10px;
|
| 15 |
-
margin-top: 5px;
|
| 16 |
}
|
| 17 |
|
| 18 |
-
.
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
|
|
|
|
|
|
| 24 |
}
|
| 25 |
|
| 26 |
-
|
| 27 |
-
|
|
|
|
|
|
|
| 28 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/* Shared styles across all pages */
|
| 2 |
+
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
|
| 3 |
+
|
| 4 |
+
:root {
|
| 5 |
+
--primary-purple: #b366ff;
|
| 6 |
+
--secondary-purple: #6a00b8;
|
| 7 |
+
--accent-magenta: #ff66ff;
|
| 8 |
+
--dark-bg: #0a0a0f;
|
| 9 |
+
}
|
| 10 |
+
|
| 11 |
+
* {
|
| 12 |
+
margin: 0;
|
| 13 |
+
padding: 0;
|
| 14 |
+
box-sizing: border-box;
|
| 15 |
+
}
|
| 16 |
+
|
| 17 |
body {
|
| 18 |
+
font-family: 'Inter', sans-serif;
|
| 19 |
+
background-color: var(--dark-bg);
|
| 20 |
+
color: #fff;
|
| 21 |
+
overflow-x: hidden;
|
| 22 |
+
}
|
| 23 |
+
|
| 24 |
+
/* Custom scrollbar */
|
| 25 |
+
::-webkit-scrollbar {
|
| 26 |
+
width: 8px;
|
| 27 |
+
}
|
| 28 |
+
|
| 29 |
+
::-webkit-scrollbar-track {
|
| 30 |
+
background: rgba(10, 10, 15, 0.5);
|
| 31 |
}
|
| 32 |
|
| 33 |
+
::-webkit-scrollbar-thumb {
|
| 34 |
+
background: linear-gradient(180deg, var(--primary-purple), var(--secondary-purple));
|
| 35 |
+
border-radius: 4px;
|
| 36 |
}
|
| 37 |
|
| 38 |
+
::-webkit-scrollbar-thumb:hover {
|
| 39 |
+
background: linear-gradient(180deg, #c47bff, #7a00d8);
|
|
|
|
|
|
|
|
|
|
| 40 |
}
|
| 41 |
|
| 42 |
+
/* Three.js canvas container */
|
| 43 |
+
#network-background {
|
| 44 |
+
position: absolute;
|
| 45 |
+
top: 0;
|
| 46 |
+
left: 0;
|
| 47 |
+
width: 100%;
|
| 48 |
+
height: 100%;
|
| 49 |
+
z-index: -1;
|
| 50 |
}
|
| 51 |
|
| 52 |
+
/* Hero section enhancements */
|
| 53 |
+
#hero {
|
| 54 |
+
position: relative;
|
| 55 |
+
isolation: isolate;
|
| 56 |
}
|
| 57 |
+
|
| 58 |
+
/* Feature cards animation */
|
| 59 |
+
.group:hover .w-14 {
|
| 60 |
+
transform: translateY(-5px);
|
| 61 |
+
transition: transform 0.3s ease;
|
| 62 |
+
}
|
| 63 |
+
|
| 64 |
+
/* Interactive demo styling */
|
| 65 |
+
#interactive-demo {
|
| 66 |
+
position: relative;
|
| 67 |
+
background: radial-gradient(circle at center, rgba(179, 102, 255, 0.1) 0%, transparent 70%);
|
| 68 |
+
border: 1px solid rgba(179, 102, 255, 0.2);
|
| 69 |
+
}
|
| 70 |
+
|
| 71 |
+
/* Responsive adjustments */
|
| 72 |
+
@media (max-width: 768px) {
|
| 73 |
+
#hero h1 {
|
| 74 |
+
font-size: 2.5rem;
|
| 75 |
+
}
|
| 76 |
+
|
| 77 |
+
.feature-card {
|
| 78 |
+
margin-bottom: 2rem;
|
| 79 |
+
}
|
| 80 |
+
}
|
| 81 |
+
|
| 82 |
+
/* Animation keyframes */
|
| 83 |
+
@keyframes pulse {
|
| 84 |
+
0% {
|
| 85 |
+
box-shadow: 0 0 0 0 rgba(179, 102, 255, 0.4);
|
| 86 |
+
}
|
| 87 |
+
70% {
|
| 88 |
+
box-shadow: 0 0 0 15px rgba(179, 102, 255, 0);
|
| 89 |
+
}
|
| 90 |
+
100% {
|
| 91 |
+
box-shadow: 0 0 0 0 rgba(179, 102, 255, 0);
|
| 92 |
+
}
|
| 93 |
+
}
|
| 94 |
+
|
| 95 |
+
.pulse-animation {
|
| 96 |
+
animation: pulse 2s infinite;
|
| 97 |
+
}
|