/* ========================================
   CSS VARIABLES & THEME
======================================== */
:root {
    --primary-color: #00ffff;
    /* Cyan Accent */
    --primary-dark: #008b8b;
    --secondary-color: #a855f7;
    /* Purple Accent */
    --bg-color: #080a0f;
    /* Deep dark blue/black */
    --card-bg: rgba(15, 23, 42, 0.4);
    /* Glassmorphism Base */
    --text-color: #e2e8f0;
    --text-muted: #94a3b8;
    --border-color: rgba(0, 255, 255, 0.2);
    --gradient-start: #0f1c2b;

    /* Project Badge Colors (Vibrant & Glowing) */
    --badge-verilog: #f97316;
    /* Orange */
    --badge-python: #3b82f6;
    /* Blue */
    --badge-dsp: #10b981;
    /* Green */
    --badge-cpp: #ef4444;
    /* Red */
    --badge-sim: #ec4899;
    /* Pink */
    --badge-hw: #8b5cf6;
    /* Violet */
    --badge-featured: #eab308;
    /* Yellow */
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* ========================================
   CUSTOM CURSOR
======================================== */
.cursor-dot {
    width: 6px;
    height: 6px;
    background-color: var(--primary-color);
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
    box-shadow: 0 0 10px var(--primary-color);
}

.cursor-outline {
    width: 30px;
    height: 30px;
    border: 1px solid var(--primary-color);
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9998;
    pointer-events: none;
    transition: width 0.2s, height 0.2s, background-color 0.2s;
    box-shadow: 0 0 5px rgba(0, 255, 255, 0.4);
}

.cursor-outline.hover {
    width: 60px;
    height: 60px;
    background-color: rgba(0, 255, 255, 0.1);
    border-color: rgba(0, 255, 255, 0.8);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.6);
}

@media (pointer: fine) {

    body,
    a,
    button,
    input,
    textarea,
    .nav-toggle {
        cursor: none;
    }
}

/* ========================================
   BACKGROUNDS (Cyber-Grid + Particles)
======================================== */
#particles-js {
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    z-index: -2;
    background: radial-gradient(circle at top right, #111827, #080a0f);
}

.cyber-grid {
    position: fixed;
    top: -50px;
    left: 0;
    width: 100%;
    height: calc(100% + 50px);
    background-image: linear-gradient(rgba(0, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
    pointer-events: none;
    animation: gridMove 15s linear infinite;
}

@keyframes gridMove {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(50px);
    }
}

/* Background Glowing Orbs */
.bg-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -3;
    opacity: 0.3;
    animation: floatOrb 12s ease-in-out infinite alternate;
    pointer-events: none;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: var(--primary-color);
    top: -150px;
    left: -150px;
}

.orb-2 {
    width: 600px;
    height: 600px;
    background: var(--secondary-color);
    bottom: -200px;
    right: -150px;
    animation-delay: -5s;
    animation-duration: 18s;
}

@keyframes floatOrb {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(100px, 100px) scale(1.2);
    }
}

/* ========================================
   TYPOGRAPHY & UTILITIES
======================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 0 1rem 0;
    line-height: 1.2;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.highlight {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.highlight-inline {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.text-cyan {
    color: var(--primary-color);
}

.text-secondary {
    color: var(--secondary-color);
}

/* ========================================
   GLASSMORPHISM 
======================================== */
.glass-panel {
    background: linear-gradient(135deg, rgba(8, 12, 22, 0.7), rgba(15, 23, 42, 0.4));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    z-index: 10;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    /* For spotlight */
}

/* Vercel-style Spotlight Glow */
.glass-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(800px circle at var(--mouse-x, 0) var(--mouse-y, 0),
            rgba(0, 255, 255, 0.06),
            transparent 40%);
    z-index: -1;
    pointer-events: none;
    transition: opacity 0.5s ease;
    opacity: 0;
}

.glass-panel:hover::before {
    opacity: 1;
}

/* ========================================
   NAVIGATION
======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(8, 10, 15, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 255, 255, 0.1);
    transition: background 0.3s ease;
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--text-color);
    font-size: 0.95rem;
    font-weight: 600;
}

.nav-links a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.5);
}

/* Hamburger Setup */
.nav-toggle {
    display: none;
    background: transparent;
    border: 0;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger {
    display: block;
    position: relative;
    width: 24px;
    height: 2px;
    background: var(--text-color);
    transition: transform 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--text-color);
    transition: transform 0.3s ease, top 0.3s ease, bottom 0.3s ease;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

.nav-toggle.is-active .hamburger {
    transform: rotate(45deg);
}

.nav-toggle.is-active .hamburger::before {
    top: 0;
    transform: rotate(90deg);
}

.nav-toggle.is-active .hamburger::after {
    bottom: 0;
    transform: rotate(90deg);
}

/* ========================================
   BUTTONS & SOCIALS
======================================== */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.1) inset;
}

.btn-primary:hover {
    background: var(--primary-color);
    color: #000;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.4);
    transform: translateY(-3px);
}

.social-links {
    display: flex;
    gap: 1.2rem;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--text-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-btn:hover {
    transform: scale(1.15) rotate(5deg);
    border-color: var(--primary-color);
    color: var(--primary-color);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.4);
    background: rgba(0, 255, 255, 0.1);
}

/* ========================================
   MAIN LAYOUT & SECTIONS
======================================== */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 5;
}

.section {
    padding: 6rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: #ffffff;
    text-align: center;
    margin-bottom: 3.5rem;
    position: relative;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: -0.5px;
}

.section-title::after {
    content: '';
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    display: block;
    margin: 0.8rem auto 0;
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

/* ========================================
   HERO SECTION
======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding-top: 80px;
    /* Offset for nav */
    gap: 2rem;
}

.hero-content {
    flex: 1;
    max-width: 650px;
}

.hero-graphic {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Chip Animation */
.chip-container {
    position: relative;
    width: 320px;
    height: 320px;
    animation: float 6s ease-in-out infinite;
}

.chip-svg {
    width: 100%;
    height: 100%;
    color: var(--primary-color);
    filter: drop-shadow(0 0 15px rgba(0, 255, 255, 0.4));
}

.chip-core {
    animation: corePulse 2s infinite alternate;
}

.chip-traces {
    stroke-dasharray: 20;
    animation: traceDash 4s linear infinite;
}

.chip-center {
    animation: corePulse 1s infinite alternate;
}

.chip-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.4) 0%, transparent 70%);
    z-index: -1;
    filter: blur(25px);
    animation: glowPulse 3s infinite alternate;
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(3deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

@keyframes corePulse {
    0% {
        opacity: 0.5;
        stroke-width: 1px;
    }

    100% {
        opacity: 1;
        stroke-width: 2.5px;
    }
}

@keyframes glowPulse {
    0% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(0.9);
    }

    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

@keyframes traceDash {
    to {
        stroke-dashoffset: -40;
    }
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.subtitle-wrapper {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 1.5rem;
    min-height: 3rem;
    display: flex;
    align-items: center;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 2.5rem;
}

.hero-cta {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

/* Typing Cursor */
.typed-cursor {
    color: var(--primary-color);
    animation: typed-blink 0.7s infinite;
}

@keyframes typed-blink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/* ========================================
   ABOUT SECTION
======================================== */
.about-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-text {
    flex: 2;
    font-size: 1.1rem;
}

.about-photo {
    flex: 1;
    display: flex;
    justify-content: center;
}

.profile-photo {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(0, 255, 255, 0.5);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.2), inset 0 0 20px rgba(0, 255, 255, 0.2);
    transition: transform 0.4s ease;
}

.profile-photo:hover {
    transform: scale(1.05);
    border-color: var(--primary-color);
    box-shadow: 0 0 40px rgba(0, 255, 255, 0.4);
}

/* ========================================
   EXPERIENCE SECTION
======================================== */
.exp-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.exp-header h3 {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.8rem;
    color: #fff;
}

.vlsi-icon {
    color: var(--primary-color);
    filter: drop-shadow(0 0 8px rgba(0, 255, 255, 0.6));
}

.company {
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

/* ========================================
   FEATURED RESEARCH (GLOW BORDER)
======================================== */
.featured-research {
    background: rgba(10, 15, 30, 0.7);
    border: 1px solid rgba(168, 85, 247, 0.3);
}

.glow-border {
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.15), inset 0 0 20px rgba(168, 85, 247, 0.05);
    transition: all 0.4s ease;
}

.glow-border:hover {
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.3), inset 0 0 20px rgba(168, 85, 247, 0.1);
    border-color: var(--secondary-color);
    transform: translateY(-5px);
}

.research-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 1.5rem;
}

/* ========================================
   DENSE SKILLS GRID (ULTRA INTERACTIVE)
======================================== */
.dense-skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.skill-cube {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    gap: 1.2rem;
    text-align: center;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: rgba(10, 15, 25, 0.6);
    position: relative;
    overflow: hidden;
}

.skill-cube::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(0, 255, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.skill-cube:hover {
    transform: translateY(-12px) scale(1.08);
    box-shadow: 0 20px 40px rgba(0, 255, 255, 0.25), inset 0 0 15px rgba(0, 255, 255, 0.1);
    border-color: rgba(0, 255, 255, 0.6);
    z-index: 10;
}

.skill-cube:hover::before {
    opacity: 1;
}

.icon-glow {
    font-size: 2.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.5));
}

.skill-cube:hover .icon-glow {
    transform: scale(1.2) rotateY(15deg) rotate(5deg);
    filter: drop-shadow(0 0 15px currentColor);
}

.icon-verilog {
    color: #f97316;
}

.icon-riscv {
    color: #8b5cf6;
}

.icon-assembly {
    color: #64748b;
}

.icon-cpp {
    color: #ef4444;
}

.icon-java {
    color: #eab308;
}

.icon-python {
    color: #3b82f6;
}

.icon-script {
    color: #ec4899;
}

.icon-eda {
    color: #10b981;
}

.icon-tcad {
    color: #06b6d4;
}

.icon-linux {
    color: #facc15;
}

.icon-core {
    color: #0ea5e9;
}

.skill-cube span {
    font-weight: 700;
    font-size: 0.95rem;
    color: #fff;
    letter-spacing: 0.5px;
    z-index: 2;
}


/* ========================================
   PROJECTS TIMELINE (STANDARD & WOW)
======================================== */
.projects-timeline {
    position: relative;
    max-width: 900px;
    margin: 4rem auto 0;
    padding: 2rem 0;
}

.timeline-line {
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, transparent, var(--secondary-color), var(--primary-color), transparent);
    transform: translateX(-50%);
    border-radius: 2px;
    opacity: 0.8;
}

.timeline-item {
    position: relative;
    margin-bottom: 4rem;
    width: 100%;
    padding-left: 64px;
}

.timeline-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--bg-color);
    border: 3px solid var(--secondary-color);
    border-radius: 50%;
    top: 40px;
    left: 24px;
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: 0 0 15px var(--secondary-color);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.timeline-item:hover .timeline-dot {
    background: var(--secondary-color);
    box-shadow: 0 0 30px var(--primary-color);
    transform: translateX(-50%) scale(1.4);
}

.timeline-item .project-card {
    width: 100%;
    position: relative;
    border-left: 4px solid var(--secondary-color);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.timeline-item:hover .project-card {
    border-color: var(--primary-color);
    transform: translateX(10px) translateY(-5px);
}

.project-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
}

.project-card:hover {
    border-color: rgba(0, 255, 255, 0.4);
    box-shadow: 0 15px 35px -10px rgba(0, 255, 255, 0.4);
    z-index: 10;
}

.project-card h3 {
    font-size: 1.4rem;
    color: #fff;
}

.project-card p {
    flex-grow: 1;
    color: var(--text-muted);
}

/* ========================================
   BADGES (Vibrant Glowing Colors)
======================================== */
.tags {
    display: flex;
    gap: 0.8rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.badge {
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.badge-featured {
    color: var(--badge-featured);
    border: 1px solid rgba(234, 179, 8, 0.4);
    box-shadow: 0 0 10px rgba(234, 179, 8, 0.2);
}

.badge-verilog {
    color: var(--badge-verilog);
    border: 1px solid rgba(249, 115, 22, 0.4);
    box-shadow: 0 0 10px rgba(249, 115, 22, 0.2);
}

.badge-python {
    color: var(--badge-python);
    border: 1px solid rgba(59, 130, 246, 0.4);
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.2);
}

.badge-signal {
    color: var(--badge-dsp);
    border: 1px solid rgba(16, 185, 129, 0.4);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.2);
}

.badge-ai {
    color: #f43f5e;
    border: 1px solid rgba(244, 63, 94, 0.4);
    box-shadow: 0 0 10px rgba(244, 63, 94, 0.2);
}

.badge-sim {
    color: var(--badge-sim);
    border: 1px solid rgba(236, 72, 153, 0.4);
    box-shadow: 0 0 10px rgba(236, 72, 153, 0.2);
}

.badge-hw {
    color: var(--badge-hw);
    border: 1px solid rgba(139, 92, 246, 0.4);
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.2);
}

.badge-cpp {
    color: var(--badge-cpp);
    border: 1px solid rgba(239, 68, 68, 0.4);
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.2);
}

.badge-db {
    color: #0ea5e9;
    border: 1px solid rgba(14, 165, 233, 0.4);
    box-shadow: 0 0 10px rgba(14, 165, 233, 0.2);
}

.badge-game {
    color: #eab308;
    border: 1px solid rgba(234, 179, 8, 0.4);
    box-shadow: 0 0 10px rgba(234, 179, 8, 0.2);
}

/* ========================================
   CONTACT FORM
======================================== */
.contact-container {
    max-width: 700px;
    margin: 0 auto;
}

.contact-subtitle {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #fff;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.3);
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.4), inset 0 0 10px rgba(0, 255, 255, 0.1);
    background: rgba(8, 10, 15, 0.8);
    transform: translateY(-3px);
}

.w-100 {
    width: 100%;
}

/* ========================================
   ROADMAP / EXPERIENCE SECTION
======================================== */
.roadmap-section {
    position: relative;
    padding-bottom: 2rem;
}

.roadmap-container {
    position: relative;
    padding: 5rem 0 2rem;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) rgba(255, 255, 255, 0.05);
    margin-bottom: 2rem;
}

.roadmap-container::-webkit-scrollbar {
    height: 8px;
}

.roadmap-container::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.roadmap-line {
    position: absolute;
    top: 55%;
    left: 0;
    width: 1500px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), var(--primary-color), transparent);
    transform: translateY(-50%);
    z-index: 1;
    box-shadow: 0 0 15px var(--primary-color);
}

/* ========================================
   REACTIVE SVG NODE
======================================== */
.reactive-core {
    position: absolute;
    top: -5%;
    left: 2%;
    width: 280px;
    height: 280px;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-core-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 30px rgba(0, 255, 255, 0.6));
    animation: rotateSlow 20s linear infinite;
    transform-style: preserve-3d;
}

.outer-hex {
    animation: pulseHex 4s ease-in-out infinite alternate;
}

.core-dot {
    animation: pulseCore 2s ease-in-out infinite alternate;
}

.core-ring {
    animation: rotateFast 10s linear infinite reverse;
}

@keyframes rotateSlow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes rotateFast {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes pulseHex {
    0% {
        stroke-width: 1px;
        fill: rgba(0, 255, 255, 0.02);
    }

    100% {
        stroke-width: 3px;
        fill: rgba(0, 255, 255, 0.08);
    }
}

@keyframes pulseCore {
    0% {
        r: 14;
        filter: drop-shadow(0 0 10px var(--primary-color));
    }

    100% {
        r: 18;
        filter: drop-shadow(0 0 30px var(--primary-color));
    }
}

.reactive-core:hover .tech-core-svg {
    animation-play-state: paused;
    transform: scale(1.1) rotateX(15deg) rotateY(15deg);
    transition: transform 0.5s ease;
}

.roadmap-track {
    display: flex;
    gap: 3rem;
    position: relative;
    z-index: 2;
    width: max-content;
    padding: 0 2rem 0 300px;
    align-items: center;
    height: 480px;
}

.roadmap-milestone {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    width: 380px;
}

.milestone-dot {
    width: 24px;
    height: 24px;
    background: var(--bg-color);
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    margin-bottom: 2rem;
    box-shadow: 0 0 20px var(--primary-color);
    z-index: 3;
    transition: all 0.3s ease;
}

.roadmap-milestone:hover .milestone-dot {
    background: var(--primary-color);
    transform: scale(1.3);
}

.roadmap-card {
    height: 300px;
    text-align: left;
    width: 100%;
}

.roadmap-card h3 {
    margin: 0 0 0.5rem 0;
    color: #fff;
    font-size: 1.5rem;
}

.highlight-card {
    border-color: var(--primary-color);
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.4);
}

/* ========================================
   FOOTER
======================================== */
footer {
    text-align: center;
    padding: 3rem;
    color: var(--text-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 4rem;
    background: rgba(8, 10, 15, 0.8);
}

/* ========================================
   MOBILE RESPONSIVE
======================================== */
@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero {
        min-height: 90vh;
        padding-top: 100px;
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    .hero-content {
        align-items: center;
    }

    .hero-cta {
        justify-content: center;
    }

    .chip-container {
        width: 220px;
        height: 220px;
        margin-top: 2rem;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .subtitle-wrapper {
        font-size: 1.3rem;
        min-height: 4rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .nav-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(8, 10, 15, 0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        transform: translateY(-100%);
        transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    }

    .nav-links.nav-open {
        transform: translateY(0);
    }

    .nav-links li a {
        font-size: 1.8rem;
    }

    .about-content {
        flex-direction: column-reverse;
        gap: 2.5rem;
    }

    .profile-photo {
        width: 200px;
        height: 200px;
    }

    .research-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .glass-panel {
        padding: 1.5rem;
    }
    }
