
/* GLOBAL RESET */

*{
margin:0;
padding:0;
box-sizing:border-box;
font-family: "Segoe UI", sans-serif;
}

body{
background:#05070c;
color:white;
overflow-x:hidden;
}


/* BOOT SCREEN */

.boot-screen{
position:fixed;
top:0;
left:0;
width:100%;
height:100vh;
background:black;
display:flex;
flex-direction:column;
align-items:center;
justify-content:center;
z-index:9999;
font-size:18px;
letter-spacing:2px;
color:#00f7ff;
animation:bootFade 3s forwards;
}

@keyframes bootFade{
0%{opacity:1}
80%{opacity:1}
100%{
opacity:0;
visibility:hidden;
}
}


/* NAVBAR */

.navbar{
position:fixed;
top:0;
width:100%;
height:70px;
backdrop-filter:blur(10px);
background:rgba(0,0,0,0.35);
border-bottom:1px solid rgba(0,255,255,0.15);
z-index:1000;
}

.nav-container{
max-width:1200px;
margin:auto;
height:100%;
display:flex;
align-items:center;
justify-content:space-between;
padding:0 40px;
}

.nav-brand{
font-size:20px;
font-weight:600;
color:#00eaff;
letter-spacing:2px;
}

.nav-links{
display:flex;
gap:40px;
}

.nav-links a{
color:#ccc;
text-decoration:none;
font-size:15px;
transition:0.3s;
}

.nav-links a:hover{
color:#00eaff;
}

.nav-icons{
display:flex;
gap:20px;
}

.nav-icons img{
width:22px;
filter:invert(1);
opacity:0.7;
transition:0.3s;
}

.nav-icons img:hover{
opacity:1;
transform:scale(1.1);
}


/* SECTION LAYOUT */

.section{
min-height:100vh;
padding:120px 20px;
display:flex;
flex-direction:column;
align-items:center;
justify-content:center;
position:relative;
}

.content{
max-width:900px;
padding:40px;
}

.content h1{
font-size:40px;
margin-bottom:20px;
color:#00f7ff;
}

.content p{
color:#aaa;
line-height:1.6;
}


/* HOME AI INTERFACE */

.home-section header{
position:absolute;
top:110px;
left:50%;
transform:translateX(-50%);
font-size:14px;
letter-spacing:3px;
color:#00f7ff;
opacity:0.7;
text-align:center;
}

.center-panel{
position:relative;
display:flex;
flex-direction:column;
align-items:center;
justify-content:center;
margin-top:70px;
}


/* AI CORE */

.ai-core{
position:relative;
width:320px;
height:320px;
display:flex;
align-items:center;
justify-content:center;
}


/* HUD RINGS */

.hud-ring,
.hud-ring-2{
position:absolute;
border-radius:50%;
border:1px solid rgba(0,255,255,0.3);
}

.hud-ring{
width:280px;
height:280px;
animation:rotate 25s linear infinite;
}

.hud-ring-2{
width:340px;
height:340px;
animation:rotateReverse 30s linear infinite;
}


/* NEURAL RING */

.neural-ring{
position:absolute;
width:220px;
height:220px;
border-radius:50%;
border:2px dashed rgba(0,255,255,0.25);
animation:rotate 20s linear infinite;
}


/* DATA NODES */

.data-node{
position:absolute;
width:6px;
height:6px;
background:#00f7ff;
border-radius:50%;
box-shadow:0 0 8px #00f7ff;
}

.data-node:nth-child(1){top:20px;left:150px}
.data-node:nth-child(2){bottom:30px;left:60px}
.data-node:nth-child(3){bottom:40px;right:70px}


/* CORE CENTER */

.core-center{
position:absolute;
width:14px;
height:14px;
border-radius:50%;
background:#00f7ff;
box-shadow:0 0 20px #00f7ff;
}


/* CANVAS ORB */

#orbCanvas{
position:absolute;
width:100%;
height:100%;
}


/* VOICE WAVEFORM */

#voiceWave{
position:absolute;

top:43%;
left:50%;

transform:translate(-50%, -50%);

width:343px;
height:120px;

pointer-events:none;

z-index:2;
}


/* AI STATUS */

.ai-status{
margin-top:30px;
font-size:14px;
letter-spacing:2px;
color:#00eaff;
opacity:0.8;
}


/* PROJECT CARDS */

.project-card h3{
color:#00f7ff;
margin-bottom:10px;
}

.project-card p{
color:#aaa;
margin-bottom:10px;
}

.project-card a{
color:#00f7ff;
text-decoration:none;
font-size:14px;
}

.project-card:hover{
transform:translateY(-6px);
box-shadow:0 0 20px rgba(0,255,255,0.2);
}


/* SKILLS LIST */

#skills ul{
list-style:none;
margin-top:30px;
}

#skills li{
padding:10px;
border-bottom:1px solid rgba(255,255,255,0.08);
color:#ccc;
}


/* REVEAL ANIMATION */

.reveal{
opacity:0;
transform:translateY(60px);
transition:all 1s ease;
}

.reveal.active{
opacity:1;
transform:translateY(0);
}


/* BACKGROUND DATA CANVAS */

#dataCanvas{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
z-index:-1;
}


/* ANIMATIONS */

@keyframes rotate{
from{transform:rotate(0deg)}
to{transform:rotate(360deg)}
}

@keyframes rotateReverse{
from{transform:rotate(360deg)}
to{transform:rotate(0deg)}
}


/* SMOOTH SCROLL */

html{
scroll-behavior:smooth;
}


/* RESPONSIVE */

@media(max-width:900px){

.nav-links{
display:none;
}

.content h1{
font-size:32px;
}

.ai-core{
width:260px;
height:260px;
}

}


.project-card{
background:#0f1628;
border-radius:15px;
overflow:hidden;
transition:0.35s;
border:1px solid rgba(0,234,255,0.2);
}

.project-card img{
width:100%;
height:180px;
object-fit:cover;
}

.project-card h3{
margin:15px;
color:#00eaff;
}

.project-card p{
margin:0 15px 10px 15px;
opacity:0.8;
}

.tags{
display:flex;
gap:8px;
flex-wrap:wrap;
margin:10px 15px;
}

.tags span{
background:#111;
padding:5px 10px;
border-radius:20px;
font-size:12px;
}

.project-links{
display:flex;
gap:10px;
margin:15px;
}

.project-links a{
padding:6px 14px;
border:1px solid #00eaff;
border-radius:20px;
text-decoration:none;
color:#00eaff;
}

.project-card:hover{
transform:translateY(-10px);
box-shadow:0 0 20px rgba(0,234,255,0.4);
}
/* CONTACT SECTION */

#contact{
display:flex;
flex-direction:column;
align-items:center;
justify-content:center;
}

.contact-title{
text-align:center;
margin-bottom:40px;
color:#00eaff;
}

.contact-container{

display:grid;
grid-template-columns:1fr 1fr;

gap:60px;

max-width:1000px;
width:90%;

align-items:center;
}


/* LEFT INFO */

.contact-info{
text-align:left;
line-height:1.8;
}

.contact-info h3{
color:#00eaff;
margin-bottom:15px;
}


/* FORM */

.contact-form{
display:flex;
flex-direction:column;
gap:15px;
}

.contact-form input,
.contact-form textarea{

background:#0f1628;
border:1px solid rgba(0,234,255,0.3);
padding:14px;
border-radius:8px;
color:white;
}

.contact-form textarea{
height:150px;
resize:none;
}

.contact-form button{

background:#00eaff;
border:none;
padding:14px;
border-radius:8px;

cursor:pointer;
font-weight:bold;
}


/* MOBILE */

@media(max-width:800px){

.contact-container{
grid-template-columns:1fr;
text-align:center;
}

.contact-info{
text-align:center;
}

}

.section-title{
text-align:center;
font-size:38px;
margin-bottom:60px;
color:#00eaff;
}

.projects-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
gap:40px;
max-width:1100px;
margin:auto;

perspective:1200px;
}
.project-card{
position:relative;
overflow:hidden;

transform-style:preserve-3d;
transition:transform 0.25s ease, box-shadow 0.25s ease;
will-change:transform;
}

.project-card::before{
content:"";
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
background:radial-gradient(circle at var(--x) var(--y),
rgba(0,234,255,0.2),
transparent 40%);
opacity:0;
transition:0.3s;

pointer-events:none;
}

.project-card:hover::before{
opacity:1;
}
.nav-links a.active{
color:#00eaff;
text-shadow:
0 0 10px #00eaff,
0 0 20px #00eaff;
}

.project-card:hover{
transform:translateY(-12px) scale(1.02);
box-shadow:0 20px 40px rgba(0,234,255,0.35);
}

.hex-skill-grid{

display:flex;
flex-wrap:wrap;
justify-content:center;
gap:40px;

max-width:900px;
margin:auto;
margin-top:60px;

}

/* HEXAGON SHAPE */

.hex-skill{

width:120px;
height:120px;

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

background:#0f1628;

clip-path:polygon(
50% 0%,
100% 25%,
100% 75%,
50% 100%,
0% 75%,
0% 25%
);

border:2px solid rgba(0,234,255,0.4);

transition:all 0.3s ease;

font-size:14px;
text-align:center;

}

/* glow hover */

.hex-skill:hover{

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

box-shadow:
0 0 12px rgba(0,234,255,0.7),
0 0 25px rgba(0,234,255,0.4);

border-color:#00eaff;

}

/* colored borders */

.python{
border-color:#4ec9b0;
}

.ml{
border-color:#ff6b6b;
}

.pytorch{
border-color:#ffb020;
}

.fastapi{
border-color:#00eaff;
}

.ai{
border-color:#b388ff;
}

.js{
border-color:#f7df1e;
}
.hex-skill-grid{

display:grid;

grid-template-columns:repeat(4, 140px);

gap:40px 60px;

justify-content:center;

margin-top:60px;

}

@keyframes skillPulse{

0%{
box-shadow:0 0 5px rgba(0,234,255,0.2);
}

50%{
box-shadow:0 0 18px rgba(0,234,255,0.5);
}

100%{
box-shadow:0 0 5px rgba(0,234,255,0.2);
}

}

.hex-skill{

animation:skillPulse 4s infinite ease-in-out;

}

.ai-skills-grid{

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

gap:35px;

max-width:900px;
margin:auto;
margin-top:60px;

}

.ai-skill-chip{

padding:20px;

border-radius:12px;

background:#0f1628;

border:1px solid rgba(0,234,255,0.3);

text-align:center;

font-weight:600;

letter-spacing:1px;

color:#00eaff;

position:relative;

transition:0.3s;

}

/* glowing border effect */

.ai-skill-chip::before{

content:"";

position:absolute;

top:-1px;
left:-1px;
right:-1px;
bottom:-1px;

border-radius:12px;

background:linear-gradient(
90deg,
transparent,
rgba(0,234,255,0.6),
transparent
);

opacity:0;

transition:0.3s;

}

.ai-skill-chip:hover::before{

opacity:1;

}

/* lift effect */

.ai-skill-chip:hover{

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

box-shadow:
0 0 12px rgba(0,234,255,0.8),
0 0 30px rgba(0,234,255,0.5),
0 0 60px rgba(0,234,255,0.3);

}
.skills-network-container{
position:relative;
max-width:900px;
margin:auto;
margin-top:60px;
}

#skillsCanvas{
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
z-index:0;
pointer-events:none;
}

.ai-skills-grid{
position:relative;
z-index:2;
}

#ai-console{

position:fixed;
top:0;
left:0;

width:100%;
height:100vh;

background:rgba(0,0,0,0.85);

display:none;

align-items:center;
justify-content:center;

z-index:9999;

}

.console-box{

width:420px;

background:#0f1628;

border:1px solid rgba(0,234,255,0.3);

padding:30px;

border-radius:10px;

box-shadow:0 0 25px rgba(0,234,255,0.4);

}

.console-title{

color:#00eaff;

margin-bottom:15px;

letter-spacing:2px;

}

#console-input{

width:100%;

background:black;

border:1px solid rgba(0,234,255,0.4);

padding:12px;

color:#00eaff;

font-size:14px;

outline:none;

}

.project-links a{
  padding:8px 14px;
  border:1px solid #00f7ff;
  border-radius:6px;
  text-decoration:none;
}


#projects{
position:relative;
overflow:hidden;
}

#projectsNetwork{
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
z-index:0;
opacity:0.35;
}

.projects-grid{
position:relative;
z-index:2;
}

/* AI DASHBOARD PANELS */

.ai-dashboard{
display:flex;
gap:40px;
margin-top:40px;
justify-content:center;
flex-wrap:wrap;
}

.ai-panel{
background:#0f1628;
border:1px solid rgba(0,234,255,0.3);
padding:20px 30px;
border-radius:10px;
width:240px;
box-shadow:0 0 15px rgba(0,234,255,0.15);
transition:0.3s;
}

.ai-panel:hover{
transform:translateY(-5px);
box-shadow:0 0 25px rgba(0,234,255,0.4);
}

.ai-panel h3{
color:#00eaff;
margin-bottom:10px;
font-size:14px;
letter-spacing:2px;
}

.ai-panel p{
font-size:13px;
color:#ccc;
margin:5px 0;
}

.active{
color:#00ff9c;
}

/* CONSOLE HINT */

.console-hint{
margin-top:25px;
font-size:14px;
color:#00eaff;
opacity:0.7;
letter-spacing:2px;
}

/* AI ORBIT LABELS */

.ai-core{
position:relative;
}

.ai-orbit{
position:absolute;
width:100%;
height:100%;
top:0;
left:0;
pointer-events:none;
}

.ai-orbit span{
position:absolute;

left:50%;
top:50%;

color:#00eaff;
font-size:11px;
letter-spacing:2px;

text-shadow:
0 0 6px #00eaff,
0 0 12px #00eaff;

animation:orbit 20s linear infinite;

opacity:0.9;
}

/* distribute labels around circle */

.ai-orbit span:nth-child(1){ --angle:0deg }
.ai-orbit span:nth-child(2){ --angle:45deg }
.ai-orbit span:nth-child(3){ --angle:90deg }
.ai-orbit span:nth-child(4){ --angle:135deg }
.ai-orbit span:nth-child(5){ --angle:180deg }
.ai-orbit span:nth-child(6){ --angle:225deg }
.ai-orbit span:nth-child(7){ --angle:270deg }
.ai-orbit span:nth-child(8){ --angle:315deg }

@keyframes orbit{

0%{
transform:
rotate(var(--angle))
translateX(170px)
rotate(calc(-1 * var(--angle)));
}

100%{
transform:
rotate(calc(var(--angle) + 360deg))
translateX(170px)
rotate(calc(-1 * var(--angle) - 360deg));
}

}

/* HOME GRID LAYOUT */

.home-grid{
display:grid;
grid-template-columns:1fr auto 1fr;
align-items:center;
gap:60px;
max-width:1200px;
margin:auto;
margin-top:80px;
}

/* SIDE PANELS */

.side-panel{

background:#0f1628;
border:1px solid rgba(0,234,255,0.3);
padding:25px;
border-radius:12px;

width:240px;

box-shadow:
0 0 12px rgba(0,234,255,0.15);

transition:0.3s;

}

.side-panel:hover{

transform:translateY(-6px);

box-shadow:
0 0 25px rgba(0,234,255,0.4);

}

.side-panel h3{

color:#00eaff;
letter-spacing:2px;
margin-bottom:15px;
font-size:14px;

}

.side-panel p{

display:flex;
justify-content:space-between;

font-size:13px;
color:#ccc;

margin:6px 0;

}

.side-panel span{

color:#00ff9c;

}

/* LEFT RIGHT POSITION */

.left-panel{
justify-self:end;
}

.right-panel{
justify-self:start;
}

/* MOBILE */

@media(max-width:900px){

.home-grid{
grid-template-columns:1fr;
gap:40px;
text-align:center;
}

.left-panel,
.right-panel{
justify-self:center;
}

}