*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Poppins',sans-serif;
scroll-behavior:smooth;
}

body{
background:#050816;
color:#fff;
overflow-x:hidden;
}

/* Animated Background */

body::before{
content:"";
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:
radial-gradient(circle at 20% 20%,rgba(0,255,255,.15),transparent 35%),
radial-gradient(circle at 80% 30%,rgba(140,0,255,.15),transparent 35%),
radial-gradient(circle at 50% 80%,rgba(0,100,255,.12),transparent 40%);
animation:bgMove 12s infinite alternate;
z-index:-2;
}

@keyframes bgMove{

0%{
transform:scale(1) rotate(0deg);
}

100%{
transform:scale(1.2) rotate(5deg);
}

}

/* Floating Stars */

body::after{
content:"";
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background-image:
radial-gradient(#00ffff 1px,transparent 1px),
radial-gradient(#ffffff 1px,transparent 1px);
background-size:60px 60px,120px 120px;
opacity:.15;
animation:stars 40s linear infinite;
z-index:-1;
}

@keyframes stars{

0%{
transform:translateY(0);
}

100%{
transform:translateY(-500px);
}

}

/* Header */

header{

display:flex;
justify-content:space-between;
align-items:center;
padding:20px 8%;
position:sticky;
top:0;
background:rgba(255,255,255,.05);
backdrop-filter:blur(18px);
border-bottom:1px solid rgba(255,255,255,.08);
z-index:1000;

}

.logo{

font-size:28px;
font-weight:700;
color:#00ffff;
text-shadow:0 0 15px cyan;

}

nav a{

color:white;
text-decoration:none;
margin-left:25px;
transition:.3s;

}

nav a:hover{

color:#00ffff;
text-shadow:0 0 10px cyan;

}

/* Hero */

.hero{

min-height:90vh;

display:flex;
justify-content:space-between;
align-items:center;

padding:80px 8%;

}

.hero-text{

max-width:600px;

}

.hero h1{

font-size:60px;
line-height:1.1;
margin-bottom:20px;

}

.hero p{

font-size:20px;
opacity:.85;
margin-bottom:30px;

}

.btn{

display:inline-block;

padding:15px 35px;

background:linear-gradient(45deg,#00ffff,#0066ff);

border-radius:50px;

color:white;

text-decoration:none;

font-weight:bold;

box-shadow:0 0 20px cyan;

transition:.3s;

}

.btn:hover{

transform:translateY(-5px) scale(1.05);

box-shadow:0 0 40px cyan;

}

.hero-icon{

font-size:180px;

animation:spin 10s linear infinite;

filter:drop-shadow(0 0 30px cyan);

}

@keyframes spin{

100%{
transform:rotate(360deg);
}

}

/* Sections */

section{

padding:80px 8%;

}

h2{

font-size:42px;

margin-bottom:40px;

text-align:center;

}

/* Grid */

.grid{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

gap:30px;

}

/* Glass Cards */

.card{

background:rgba(255,255,255,.08);

border:1px solid rgba(255,255,255,.12);

backdrop-filter:blur(20px);

padding:30px;

border-radius:25px;

transition:.4s;

box-shadow:0 0 20px rgba(0,255,255,.08);

}

.card:hover{

transform:translateY(-12px);

box-shadow:0 0 35px cyan;

border-color:cyan;

}

.card h3{

margin-bottom:15px;

font-size:26px;

}

.card p{

opacity:.85;

margin-bottom:20px;

}

.card a{

display:inline-block;

padding:10px 25px;

border-radius:40px;

background:#00ffff;

color:#000;

font-weight:bold;

text-decoration:none;

}

/* Features */

ul{

list-style:none;

display:grid;

grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

gap:20px;

}

ul li{

background:rgba(255,255,255,.05);

padding:20px;

border-radius:15px;

}

/* About */

#about p{

max-width:850px;

margin:auto;

font-size:20px;

line-height:1.8;

text-align:center;

opacity:.9;

}

/* Footer */

footer{

padding:30px;

text-align:center;

background:#02040d;

border-top:1px solid rgba(255,255,255,.08);

margin-top:60px;

}

/* Mobile */

@media(max-width:900px){

.hero{

flex-direction:column;

text-align:center;

}

.hero h1{

font-size:42px;

}

.hero-icon{

margin-top:40px;

font-size:120px;

}

nav{

display:none;

}

}
#quantum-core{

width:400px;

height:400px;

margin:auto;

}

canvas{

max-width:100%;

}
/* Quantum HUD */

.hud{

position:relative;

width:420px;

height:420px;

margin:auto;

}

.scan{

position:absolute;

width:100%;
height:3px;

background:cyan;

box-shadow:0 0 25px cyan;

animation:scanMove 4s linear infinite;

}

.scan2{

animation-delay:2s;

}

@keyframes scanMove{

0%{

top:0;

opacity:0;

}

50%{

opacity:1;

}

100%{

top:100%;

opacity:0;

}

}

.orbit{

position:absolute;

border:2px solid rgba(0,255,255,.25);

border-radius:50%;

animation:rotateRing 8s linear infinite;

}

.orbit1{

width:220px;
height:220px;

top:100px;
left:100px;

}

.orbit2{

width:280px;
height:280px;

top:70px;
left:70px;

animation-duration:12s;

}

.orbit3{

width:340px;
height:340px;

top:40px;
left:40px;

animation-duration:18s;

}

@keyframes rotateRing{

100%{

transform:rotate(360deg);

}

}
.hero{
display:flex;
align-items:center;
justify-content:space-between;
gap:40px;
flex-wrap:wrap;
min-height:100vh;
padding:60px 8%;
}

.hero-text{
flex:1;
min-width:320px;
}

.hero-icon{
flex:1;
display:flex;
justify-content:center;
align-items:center;
position:relative;
min-width:320px;
}
/* ===== Galaxy Background ===== */

.galaxy{

position:fixed;

top:0;
left:0;

width:100%;
height:100%;

overflow:hidden;

z-index:-2;

background:
radial-gradient(circle at center,#06152d,#020812,#000);

}

.stars{

position:absolute;

width:100%;
height:100%;

background-image:
radial-gradient(white 1px,transparent 1px);

background-size:40px 40px;

animation:starsMove 80s linear infinite;

opacity:.5;

}

@keyframes starsMove{

from{
transform:translateY(0);
}

to{
transform:translateY(-500px);
}

}

.meteor{

position:absolute;

width:220px;

height:2px;

background:linear-gradient(to right,
transparent,
cyan,
white);

box-shadow:0 0 20px cyan;

transform:rotate(-35deg);

animation:meteor 6s linear infinite;

}

.meteor1{

top:8%;

left:-250px;

animation-delay:0s;

}

.meteor2{

top:35%;

left:-250px;

animation-delay:2s;

}

.meteor3{

top:65%;

left:-250px;

animation-delay:4s;

}

@keyframes meteor{

0%{

transform:translateX(0) translateY(0) rotate(-35deg);

opacity:0;

}

10%{

opacity:1;

}

100%{

transform:translateX(1800px) translateY(800px) rotate(-35deg);

opacity:0;

}

}
/* Floating Quantum Particles */

.particles{

position:fixed;

top:0;
left:0;

width:100%;
height:100%;

pointer-events:none;

overflow:hidden;

z-index:-1;

}

.particles span{

position:absolute;

display:block;

width:8px;

height:8px;

background:cyan;

border-radius:50%;

box-shadow:0 0 20px cyan;

animation:floatParticle linear infinite;

}

.particles span:nth-child(1){
left:5%;
animation-duration:12s;
animation-delay:0s;
}

.particles span:nth-child(2){
left:18%;
animation-duration:15s;
animation-delay:2s;
}

.particles span:nth-child(3){
left:32%;
animation-duration:18s;
animation-delay:1s;
}

.particles span:nth-child(4){
left:45%;
animation-duration:13s;
animation-delay:4s;
}

.particles span:nth-child(5){
left:60%;
animation-duration:16s;
animation-delay:3s;
}

.particles span:nth-child(6){
left:75%;
animation-duration:14s;
animation-delay:2s;
}

.particles span:nth-child(7){
left:88%;
animation-duration:17s;
animation-delay:1s;
}

.particles span:nth-child(8){
left:96%;
animation-duration:20s;
animation-delay:0s;
}

@keyframes floatParticle{

0%{

transform:translateY(100vh) scale(.5);

opacity:0;

}

20%{

opacity:1;

}

100%{

transform:translateY(-120vh) scale(1.5);

opacity:0;

}

}
/* AI Assistant */

.ai-assistant{

position:fixed;

right:25px;

bottom:25px;

width:90px;

height:90px;

border-radius:50%;

display:flex;

justify-content:center;

align-items:center;

cursor:pointer;

z-index:999;

}

.ai-core{

position:absolute;

width:90px;

height:90px;

border-radius:50%;

background:radial-gradient(circle,#00ffff,#0066ff);

box-shadow:
0 0 20px cyan,
0 0 50px cyan,
0 0 80px cyan;

animation:aiPulse 2s infinite;

}

.ai-text{

position:relative;

font-size:26px;

font-weight:bold;

color:white;

z-index:2;

}

@keyframes aiPulse{

0%{
transform:scale(1);
}

50%{
transform:scale(1.12);
}

100%{
transform:scale(1);
}

}
/* Dashboard */

.dashboard{

padding:80px 8%;

}

.dashboard-grid{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(260px,1fr));

gap:25px;

}

.panel{

background:rgba(255,255,255,.06);

border:1px solid rgba(0,255,255,.25);

backdrop-filter:blur(18px);

padding:25px;

border-radius:20px;

box-shadow:0 0 25px rgba(0,255,255,.15);

transition:.4s;

}

.panel:hover{

transform:translateY(-10px);

box-shadow:0 0 40px cyan;

}

.panel h3{

margin-bottom:20px;

}

.bar{

width:100%;

height:12px;

background:#111;

border-radius:20px;

overflow:hidden;

}

.bar span{

display:block;

height:100%;

background:linear-gradient(90deg,#00ffff,#0066ff);

animation:loading 3s infinite;

}

@keyframes loading{

0%{

width:0;

}

100%{

width:100%;

}

}
.dashboard{
padding:80px 8%;
text-align:center;
}

.dashboard h2{
font-size:42px;
color:#00ffff;
margin-bottom:40px;
text-shadow:0 0 20px cyan;
}

.panel-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:25px;
}

.panel{
background:rgba(255,255,255,.08);
backdrop-filter:blur(18px);
border:1px solid rgba(0,255,255,.3);
border-radius:25px;
padding:35px;
transition:.4s;
box-shadow:0 0 25px rgba(0,255,255,.15);
}

.panel:hover{
transform:translateY(-12px) scale(1.03);
box-shadow:0 0 45px cyan;
}

.panel h1{
font-size:55px;
color:#00ffff;
margin:15px 0;
}

.panel h3{
color:white;
}

.panel p{
color:#b8dfff;
}
/* ===== Quantum Atom ===== */

.hero-animation{
display:flex;
justify-content:center;
align-items:center;
height:420px;
}

.atom{
position:relative;
width:280px;
height:280px;
}

.nucleus{
position:absolute;
left:50%;
top:50%;
width:40px;
height:40px;
margin-left:-20px;
margin-top:-20px;
background:#00ffff;
border-radius:50%;
box-shadow:0 0 40px cyan,
0 0 80px cyan;
animation:pulse 2s infinite;
}

.orbit{
position:absolute;
left:50%;
top:50%;
width:240px;
height:240px;
margin-left:-120px;
margin-top:-120px;
border:2px solid rgba(0,255,255,.35);
border-radius:50%;
animation:spin 10s linear infinite;
}

.orbit2{
transform:rotateX(70deg);
animation-duration:8s;
}

.orbit3{
transform:rotateY(70deg);
animation-duration:6s;
}

.electron{
position:absolute;
top:-8px;
left:50%;
margin-left:-8px;
width:16px;
height:16px;
background:white;
border-radius:50%;
box-shadow:0 0 20px cyan;
}

@keyframes spin{
100%{
transform:rotate(360deg);
}
}

@keyframes pulse{
50%{
transform:scale(1.3);
box-shadow:0 0 80px cyan;
}
}
.light{

animation:beamMove 2s linear infinite;

}

@keyframes beamMove{

0%{
width:0;
}

100%{
width:230px;
}

}

.rainbow{

transform-origin:left center;

}

.ray{

transition:.8s;

}

button{

margin:12px;
}

input[type=range]{

margin-top:20px;

}