/* --- Variables & Reset --- */
:root {
    --bg-color: #050505;
    --card-bg: rgba(20, 20, 20, 0.6);
    --text-primary: #ffffff;
    --text-secondary: #ffffff;
    --accent-cyan: #00f3ff;
    --accent-purple: #bd00ff;
    --accent-green: #39ff14;
    --glass-border: rgba(255, 255, 255, 0.08);
    --font-head: 'Orbitron', sans-serif;
    --font-body: 'Exo 2', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none; /* Custom cursor only */
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
}

/* --- Particles Background --- */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    background-color: var(--bg-color);
}

a { text-decoration: none; color: inherit; cursor: none; }
ul { list-style: none; }

/* --- Custom Cursor --- */
.cursor-dot, .cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-cyan);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid var(--accent-cyan);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

body.hovering .cursor-outline {
    width: 60px;
    height: 60px;
    background-color: rgba(0, 243, 255, 0.1);
    border-color: var(--accent-green);
}

/* --- Typography --- */
h1, h2, h3 { font-family: var(--font-head); text-transform: uppercase; letter-spacing: 2px; }
.accent { color: var(--accent-cyan); text-shadow: 0 0 10px rgba(0, 243, 255, 0.5); }
.section-title { font-size: 2.5rem; text-align: center; margin-bottom: 3rem; }

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 2rem;
    background: rgba(5, 5, 5, 0.7);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo { font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; }
.logo span { color: var(--accent-cyan); }
.nav-links { display: flex; gap: 2rem; }
.nav-link:hover { color: var(--accent-cyan); }

/* --- Hero --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}
.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: glow 2s ease-in-out infinite alternate;
}
.subtitle { font-size: 1.5rem; color: var(--text-secondary); margin-bottom: 1rem; }
.highlight { color: var(--accent-green); }
.btn {
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s ease;
    display: inline-block;
    margin: 10px;
    letter-spacing: 1px;
}
.primary-btn {
    background: transparent;
    border: 1px solid var(--accent-cyan);
    color: var(--accent-cyan);
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.2);
}
.primary-btn:hover { background: var(--accent-cyan); color: #000; box-shadow: 0 0 25px rgba(0, 243, 255, 0.6); }
.secondary-btn { border: 1px solid var(--text-secondary); color: var(--text-secondary); }
.secondary-btn:hover { border-color: var(--text-primary); color: var(--text-primary); }

/* --- Sections --- */
.section { padding: 100px 20px; }
.container { max-width: 1100px; margin: 0 auto; }
.glass {
    background: var(--card-bg);
    backdrop-filter: blur(5px);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 25px;
    transition: transform 0.3s, border-color 0.3s;
}
.glass:hover {
    transform: translateY(-5px);
    border-color: var(--accent-cyan);
}
.dark-bg { background-color: rgba(0,0,0,0.4); }

/* --- About (Placeholder Image) --- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-img-wrapper { position: relative; display: flex; justify-content: center; }

.profile-placeholder {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle at center, rgba(0, 243, 255, 0.1), transparent);
    border: 2px solid var(--glass-border);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.1);
}
.initials {
    font-family: var(--font-head);
    font-size: 4rem;
    color: var(--accent-cyan);
    text-shadow: 0 0 10px var(--accent-cyan);
    z-index: 2;
}
.scan-line {
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--accent-cyan);
    top: 0;
    left: 0;
    animation: scan 3s linear infinite;
    opacity: 0.5;
    box-shadow: 0 0 10px var(--accent-cyan);
}
@keyframes scan {
    0% { top: 0; }
    100% { top: 100%; }
}

.img-border {
    position: absolute; top: 20px; left: 20px; width: 300px; height: 300px;
    border: 2px solid var(--accent-cyan); border-radius: 20px; z-index: -1;
    transform: translate(15px, 15px);
}

.stats-row { display: flex; gap: 30px; margin-top: 30px; }
.stat-item h3 { font-size: 2rem; color: var(--accent-purple); }

/* --- Skills  --- */
.skills-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}
.skill-category h3 {
    font-size: 1.2rem;
    color: var(--accent-green);
    margin-bottom: 15px;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 10px;
    display: inline-block;
}
.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}
.skill-tag {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--accent-cyan);
    padding: 10px 20px;
    border-radius: 4px;
    font-family: var(--font-head);
    font-size: 0.9rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
    cursor: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.skill-tag:hover {
    background: var(--accent-cyan);
    color: #000;
    box-shadow: 0 0 15px var(--accent-cyan);
    transform: scale(1.05);
}

/* --- Certifications --- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.card-header-icon { margin-bottom: 15px; }
.icon-badge {
    background: var(--accent-cyan);
    color: #000;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 4px;
    font-family: var(--font-head);
    font-size: 0.9rem;
}
.cert-issuer {
    color: var(--text-secondary);
    font-weight: 300;
    margin-bottom: 15px;
    font-size: 1rem;
}

/* --- Experience (Timeline) --- */
.timeline { display: flex; flex-direction: column; gap: 20px; }
.timeline-item { border-left: 3px solid var(--accent-green); position: relative; }
.timeline-item .date { font-size: 0.8rem; color: var(--accent-green); text-transform: uppercase; letter-spacing: 1px; display: block; margin-bottom: 5px; }
.timeline-item h4 { color: var(--text-secondary); font-weight: 300; margin-bottom: 10px; }

/* --- Projects --- */
.featured-project { margin-bottom: 40px; border-top: 2px solid var(--accent-purple); }
.project-header { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; margin-bottom: 10px; }
.badge { background: rgba(189, 0, 255, 0.2); color: var(--accent-purple); padding: 4px 10px; font-size: 0.75rem; border-radius: 4px; margin-right: 10px; }
.project-tech { color: var(--accent-cyan); font-family: monospace; font-size: 0.9rem; margin-bottom: 15px; }
.mentor-note { font-size: 0.9rem; color: var(--text-secondary); margin-top: 15px; display: block; }
.project-links { margin-top: 20px; display: flex; gap: 15px; }
.btn-sm { font-size: 0.85rem; text-transform: uppercase; font-weight: bold; border-bottom: 1px solid var(--accent-cyan); padding-bottom: 2px; }
.btn-sm:hover { color: var(--accent-cyan); }

.project-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 40px; }
.project-card { background: rgba(255,255,255,0.03); border: 1px solid var(--glass-border); padding: 25px; border-radius: 8px; transition: 0.3s; }
.project-card:hover { background: rgba(255,255,255,0.05); border-color: var(--text-secondary); }
.tech-stack { color: var(--accent-green); font-size: 0.85rem; margin-bottom: 10px; font-family: monospace; }
.link-text { display: inline-block; margin-top: 15px; font-size: 0.9rem; color: var(--accent-cyan); }

/* --- Footer --- */
footer { padding: 50px 20px; text-align: center; border-top: 1px solid var(--glass-border); margin-top: 50px; background: rgba(0,0,0,0.8); }
.socials { margin: 20px 0; display: flex; justify-content: center; gap: 20px; }
.socials a { color: var(--text-secondary); transition: color 0.3s; }
.socials a:hover { color: var(--accent-cyan); }

/* --- Mobile --- */
@media (max-width: 768px) {
    .hero-content h1 { font-size: 2.5rem; }
    .about-grid { grid-template-columns: 1fr; }
    .nav-links { display: none; }
    .timeline-item { padding: 20px; }
    .profile-placeholder, .img-border { width: 100%; max-width: 300px; }
}

@keyframes glow { from { text-shadow: 0 0 10px rgba(0,243,255,0.2); } to { text-shadow: 0 0 20px rgba(0,243,255,0.6); } }